From patchwork Mon Oct 17 06:15:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 4697 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id AF06A23E51 for ; Mon, 17 Oct 2011 06:11:45 +0000 (UTC) Received: from mail-bw0-f52.google.com (mail-bw0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id 9E1DEA1842E for ; Mon, 17 Oct 2011 06:11:45 +0000 (UTC) Received: by mail-bw0-f52.google.com with SMTP id zs2so6756792bkb.11 for ; Sun, 16 Oct 2011 23:11:45 -0700 (PDT) Received: by 10.223.85.139 with SMTP id o11mr22441964fal.0.1318831905389; Sun, 16 Oct 2011 23:11:45 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.24.41 with SMTP id r9cs89285laf; Sun, 16 Oct 2011 23:11:45 -0700 (PDT) Received: by 10.236.77.131 with SMTP id d3mr23892648yhe.124.1318831904387; Sun, 16 Oct 2011 23:11:44 -0700 (PDT) Received: from mail-gy0-f178.google.com (mail-gy0-f178.google.com [209.85.160.178]) by mx.google.com with ESMTPS id m45si6008717yhk.73.2011.10.16.23.11.43 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Oct 2011 23:11:44 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.178 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) client-ip=209.85.160.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.178 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) smtp.mail=shawn.guo@linaro.org Received: by gyh4 with SMTP id 4so3020153gyh.37 for ; Sun, 16 Oct 2011 23:11:43 -0700 (PDT) Received: by 10.68.33.161 with SMTP id s1mr36027545pbi.43.1318831903275; Sun, 16 Oct 2011 23:11:43 -0700 (PDT) Received: from localhost.localdomain ([117.82.23.149]) by mx.google.com with ESMTPS id ko15sm21528378pbb.9.2011.10.16.23.11.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Oct 2011 23:11:42 -0700 (PDT) From: Shawn Guo To: Arnd Bergmann , Chris Ball Cc: linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, Sascha Hauer , patches@linaro.org, Shawn Guo Subject: [PATCH 2/5] arm/imx: explicitly includes mach/hardware.h in mach-kzm_arm11_01.c Date: Mon, 17 Oct 2011 14:15:07 +0800 Message-Id: <1318832110-29289-3-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1318832110-29289-1-git-send-email-shawn.guo@linaro.org> References: <1318832110-29289-1-git-send-email-shawn.guo@linaro.org> MIME-Version: 1.0 The mach-kzm_arm11_01.c references a number of things requiring the explicit inclusion of mach/hardware.h. Otherwise, when indirect inclusion to mach/hardware.h gets cleaned up, we will see the following compile error. CC arch/arm/mach-imx/mach-kzm_arm11_01.o arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IOMEM’ arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IMX_IO_P2V_MODULE’ arch/arm/mach-imx/mach-kzm_arm11_01.c:71:14: error: ‘MX31_CS4’ undeclared here (not in a function) arch/arm/mach-imx/mach-kzm_arm11_01.c:71:14: error: ‘MX31_CS5’ undeclared here (not in a function) arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IMX_IO_P2V’ Signed-off-by: Shawn Guo --- arch/arm/mach-imx/mach-kzm_arm11_01.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/mach-kzm_arm11_01.c b/arch/arm/mach-imx/mach-kzm_arm11_01.c index 4288e8f..5f37f89 100644 --- a/arch/arm/mach-imx/mach-kzm_arm11_01.c +++ b/arch/arm/mach-imx/mach-kzm_arm11_01.c @@ -36,6 +36,7 @@ #include #include +#include #include #include "devices-imx31.h"