From patchwork Wed Apr 29 07:08:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Roese X-Patchwork-Id: 1279022 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=Zgu4F6bJ; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49BqPY0lHpz9sSy for ; Wed, 29 Apr 2020 17:09:04 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3BF7B82060; Wed, 29 Apr 2020 09:08:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1588144136; bh=PSlcjryCODPZgfElbJwlqkFPSa024tksf2TZL1PmwSI=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Zgu4F6bJQTR0My6Qnh2twa4bP2Sk4dz5TLLe1B8vxPC5dbWDAqEcNGN78Tl6ErJvU h827h94/0qcFcsFjusQttKVt3ABElar9zttOFY9Wzlwkr8Vn7cz82e+oF+MbDhdB+J iFB521Xn9z33t73ZUO2i4cKdLnBptGTtlgeC9UGqi6MAWIFzQWMzQ6MoXbbkgGKGwj HjEE/PCR49/50Ff4svqYznpA8bAg21/8mE9RjlTsieSHpazQkdYVhUl39kG3Iq28Eo P/HxF2MfoW0ai7kuHKNoDuts+1rwwn7S2M39gROPwy8rzsjpQ7gSyCbQdeaeE7kt0e S7LGNPxigMAjA== Received: by phobos.denx.de (Postfix, from userid 109) id 50A5F8205D; Wed, 29 Apr 2020 09:08:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mx2.mailbox.org (mx2.mailbox.org [80.241.60.215]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 774DA8205D for ; Wed, 29 Apr 2020 09:08:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=sr@denx.de Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 033D8A4492; Wed, 29 Apr 2020 09:08:48 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id eQJL01LdTJ7g; Wed, 29 Apr 2020 09:08:45 +0200 (CEST) From: Stefan Roese To: u-boot@lists.denx.de Cc: Simon Glass Subject: [PATCH] dm: core: Reorder include files in read.c Date: Wed, 29 Apr 2020 09:08:44 +0200 Message-Id: <20200429070844.11939-1-sr@denx.de> MIME-Version: 1.0 X-Rspamd-Queue-Id: C658817FA X-Rspamd-Score: -0.22 / 15.00 / 15.00 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean Including the assembler headers before including common.h etc leads to compilation errors upon MIPS64 based platforms using OF_LIVE. This patch reorders the include files to the "correct" oder. Signed-off-by: Stefan Roese Cc: Simon Glass Reviewed-by: Simon Glass --- drivers/core/read.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/core/read.c b/drivers/core/read.c index 47b8e03446..8e65dd2d50 100644 --- a/drivers/core/read.c +++ b/drivers/core/read.c @@ -4,12 +4,12 @@ * Written by Simon Glass */ -#include -#include #include #include -#include #include +#include +#include +#include int dev_read_u32(const struct udevice *dev, const char *propname, u32 *outp) {