]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
mmc: sdhci-esdhc-imx: add missing inclusion of linux/module.h
authorShawn Guo <shawn.guo@linaro.org>
Mon, 15 Aug 2011 02:28:18 +0000 (10:28 +0800)
committerChris Ball <cjb@laptop.org>
Sun, 28 Aug 2011 18:10:00 +0000 (14:10 -0400)
There are the following warnings and errorx when compiling the driver.
The patch adds the missing inclusion of linux/module.h to fix them.

drivers/mmc/host/sdhci-esdhc-imx.c:563:12: error: ‘THIS_MODULE’ undeclared here (not in a function)
[..]

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c

index 0e9780f5a4a9d8147c9eaa9d1524fd6ebbc59331..4dc0028086a34357ef5b5578678ce7ca4a1ccdd6 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/err.h>
 #include <linux/clk.h>
 #include <linux/gpio.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/mmc/host.h>
 #include <linux/mmc/mmc.h>