From patchwork Mon Oct 17 06:15:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 4700 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 E685223E51 for ; Mon, 17 Oct 2011 06:12:57 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id D657BA1844E for ; Mon, 17 Oct 2011 06:12:57 +0000 (UTC) Received: by mail-ey0-f180.google.com with SMTP id 5so3327397eyg.11 for ; Sun, 16 Oct 2011 23:12:57 -0700 (PDT) Received: by 10.223.85.139 with SMTP id o11mr22447851fal.0.1318831977722; Sun, 16 Oct 2011 23:12:57 -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 r9cs89310laf; Sun, 16 Oct 2011 23:12:57 -0700 (PDT) Received: by 10.236.185.228 with SMTP id u64mr24281185yhm.91.1318831976702; Sun, 16 Oct 2011 23:12:56 -0700 (PDT) Received: from mail-yw0-f50.google.com (mail-yw0-f50.google.com [209.85.213.50]) by mx.google.com with ESMTPS id i45si10351860yhm.13.2011.10.16.23.12.56 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Oct 2011 23:12:56 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.213.50 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) client-ip=209.85.213.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.213.50 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) smtp.mail=shawn.guo@linaro.org Received: by ywb5 with SMTP id 5so1142174ywb.37 for ; Sun, 16 Oct 2011 23:12:56 -0700 (PDT) Received: by 10.68.23.35 with SMTP id j3mr36549536pbf.44.1318831975706; Sun, 16 Oct 2011 23:12:55 -0700 (PDT) Received: from localhost.localdomain ([117.82.23.149]) by mx.google.com with ESMTPS id ko15sm21528378pbb.9.2011.10.16.23.12.33 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Oct 2011 23:12:55 -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 5/5] mmc: mxcmmc: explicitly includes mach/hardware.h Date: Mon, 17 Oct 2011 14:15:10 +0800 Message-Id: <1318832110-29289-6-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 When indirect inclusion to via gets removed, we will see the following compile error. CC drivers/mmc/host/mxcmmc.o drivers/mmc/host/mxcmmc.c: In function ‘mxcmci_init_card’: drivers/mmc/host/mxcmmc.c:811:2: error: implicit declaration of function ‘cpu_is_mx3’ Signed-off-by: Shawn Guo --- drivers/mmc/host/mxcmmc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index 14aa213..6632e38 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc/host/mxcmmc.c @@ -40,6 +40,7 @@ #include #include +#include #define DRIVER_NAME "mxc-mmc"