public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: sdhci-s3c: Fix build for header change
@ 2011-07-29 14:35 Mark Brown
  2011-07-29 14:36 ` Chris Ball
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2011-07-29 14:35 UTC (permalink / raw)
  To: Ben Dooks, Chris Ball; +Cc: linux-mmc, linux-kernel, 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.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 drivers/mmc/host/sdhci-s3c.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index 03da44a..2bd7bf4 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -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>
 
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mmc: sdhci-s3c: Fix build for header change
  2011-07-29 14:35 [PATCH] mmc: sdhci-s3c: Fix build for header change Mark Brown
@ 2011-07-29 14:36 ` Chris Ball
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Ball @ 2011-07-29 14:36 UTC (permalink / raw)
  To: Mark Brown; +Cc: Ben Dooks, linux-mmc, linux-kernel

Hi Mark,

On Fri, Jul 29 2011, Mark Brown wrote:
> A header change has removed an implicit inclusion of module.h, breaking
> the build due to the use of THIS_MODULE. Fix that.
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
>  drivers/mmc/host/sdhci-s3c.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
> index 03da44a..2bd7bf4 100644
> --- a/drivers/mmc/host/sdhci-s3c.c
> +++ b/drivers/mmc/host/sdhci-s3c.c
> @@ -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.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-29 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29 14:35 [PATCH] mmc: sdhci-s3c: Fix build for header change Mark Brown
2011-07-29 14:36 ` Chris Ball

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox