Skip to contentSkip to conversation

mmc: sdhci-s3c: Fix build for header change

PATCH In review Mark Brown 2 participants 2 messages Jul 29, 2011

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 mmc: sdhci-s3c: Fix build for header change

A header change has removed an implicit inclusion of module.h, breaking the build due to the use of THIS_MODULE. Fix that.

---
 drivers/mmc/host/sdhci-s3c.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mmc/host/sdhci-s3c.c +1 -0
index 03da44a..2bd7bf4 100644
@@ -19,6 +19,7 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/gpio.h>
+#include <linux/module.h>
 
 #include <linux/mmc/host.h>
 
Signature · 1 line
1.7.5.4
#1 lore raw

Hi Mark,

Quoted 13 lines · Mark Brown

A header change has removed an implicit inclusion of module.h, breaking the build due to the use of THIS_MODULE. Fix that.

---
 drivers/mmc/host/sdhci-s3c.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mmc/host/sdhci-s3c.c +0 -0
index 03da44a..2bd7bf4 100644

drivers/mmc/host/sdhci-s3c.c line 24

Quoted 6 lines
drivers/mmc/host/sdhci-s3c.c +1 -0
@@ -19,6 +19,7 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/gpio.h>
+#include <linux/module.h>
 
 #include <linux/mmc/host.h>

Thanks, pushed to mmc-next for 3.1.

- Chris.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child