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: 120096 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E5A91B6F8F for ; Mon, 17 Oct 2011 17:13:16 +1100 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RFgRY-0003Oh-SP; Mon, 17 Oct 2011 06:13:01 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1RFgRY-0002ZQ-9c; Mon, 17 Oct 2011 06:13:00 +0000 Received: from mail-gx0-f177.google.com ([209.85.161.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RFgRV-0002Z3-Pc for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2011 06:12:58 +0000 Received: by ggnk3 with SMTP id k3so405785ggn.36 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 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 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20111017_021257_908526_03B4ECCB X-CRM114-Status: GOOD ( 10.89 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.161.177 listed in list.dnswl.org] Cc: Sascha Hauer , Shawn Guo , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org 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"