From patchwork Thu Dec 11 03:12:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 419930 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id ECE0F1400D5 for ; Thu, 11 Dec 2014 14:12:17 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4E1A14B8CC; Thu, 11 Dec 2014 04:12:15 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vTkedom7F1Fq; Thu, 11 Dec 2014 04:12:14 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7BA664B8C7; Thu, 11 Dec 2014 04:12:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DF6674B8C7 for ; Thu, 11 Dec 2014 04:12:10 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l47jFqYf6OJJ for ; Thu, 11 Dec 2014 04:12:10 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ig0-f202.google.com (mail-ig0-f202.google.com [209.85.213.202]) by theia.denx.de (Postfix) with ESMTPS id 8007B4B8C5 for ; Thu, 11 Dec 2014 04:12:06 +0100 (CET) Received: by mail-ig0-f202.google.com with SMTP id hn18so586584igb.5 for ; Wed, 10 Dec 2014 19:12:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MYiiXRGCwP3GuFxS8aVuzqBYRwrbagUBIguQks5DbmY=; b=CDL7X7YyvpZxpzc5rNKUi89Yn/YnqZ8L7lTBadxOyqBdvEYg/FtqOStPy4kORxO9yi nQf6FBNd/5E/Fqb/bDQ6X+oMP3qHxCnVHbYvJNyOl4HhLISCvQbcLcdMongX15z/ELin riX9+szvzwcJkQwDohG0NLQtTHF5RLTOUGXxYFCOeF8THeEumB/ghgguhn9ofK9GuUGl nVQOB7/7kKYnK6zi3kpE2+F8Ke2FO6qh9PvR01o4ZeXVjR3M/c3Okz02PkA9gLXM1bzP pQ4ZLB6n7fyPNcXhzROo10/v2YNegygblpmJUMO70OD20yJegQjKVgb9CIXzn04OROf/ aaqw== X-Gm-Message-State: ALoCoQmYTXdk/ioOVxJH3z1TFaeNIgZvMeAf/kg4vZ5sQe45buRsTcVypSL4h7KcDgLu44gOBpdW X-Received: by 10.50.225.70 with SMTP id ri6mr348744igc.0.1418267524744; Wed, 10 Dec 2014 19:12:04 -0800 (PST) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id c4si1245557qco.0.2014.12.10.19.12.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Dec 2014 19:12:04 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id emoTXChz.1; Wed, 10 Dec 2014 19:12:04 -0800 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id E7D5E220AA8; Wed, 10 Dec 2014 20:12:03 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Wed, 10 Dec 2014 20:12:01 -0700 Message-Id: <1418267521-26896-1-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c Subject: [U-Boot] [PATCH] bios_emulator: Correct ordering of includes X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de We should include common.h before other includes. This actually causes a build error on chromebook_link. Signed-off-by: Simon Glass --- drivers/bios_emulator/besys.c | 2 +- drivers/bios_emulator/bios.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bios_emulator/besys.c b/drivers/bios_emulator/besys.c index 752a928..02c4286 100644 --- a/drivers/bios_emulator/besys.c +++ b/drivers/bios_emulator/besys.c @@ -48,8 +48,8 @@ ****************************************************************************/ #define __io -#include #include +#include #include "biosemui.h" /*------------------------- Global Variables ------------------------------*/ diff --git a/drivers/bios_emulator/bios.c b/drivers/bios_emulator/bios.c index 152d70a..dd4c0a4 100644 --- a/drivers/bios_emulator/bios.c +++ b/drivers/bios_emulator/bios.c @@ -42,8 +42,8 @@ ****************************************************************************/ #define __io -#include #include +#include #include "biosemui.h" /*----------------------------- Implementation ----------------------------*/