aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-10-17 02:15:10 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-10-17 15:41:04 -0400
commitedae899893f84cb454f96b95092a04685a6b08e3 (patch)
tree54016be4d334efb91c337863f3df9028f699c40b /drivers/mmc
parentbbbab56eb081e8a4344101d91fad0e27a768478f (diff)
mmc: mxcmmc: explicitly includes mach/hardware.h
When indirect inclusion to <mach/hardware.h> via <mach/gpio.h> 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 <shawn.guo@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/mxcmmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
index 14aa213b00da..6632e38f0d13 100644
--- a/drivers/mmc/host/mxcmmc.c
+++ b/drivers/mmc/host/mxcmmc.c
@@ -40,6 +40,7 @@
40#include <mach/mmc.h> 40#include <mach/mmc.h>
41 41
42#include <mach/dma.h> 42#include <mach/dma.h>
43#include <mach/hardware.h>
43 44
44#define DRIVER_NAME "mxc-mmc" 45#define DRIVER_NAME "mxc-mmc"
45 46