All of lore.kernel.org
 help / color / mirror / Atom feed
From: paul.gortmaker@windriver.com (Paul Gortmaker)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: SAMSUNG: Fix build of dev- infrastructure for module.h changes
Date: Mon, 1 Aug 2011 07:03:19 -0400	[thread overview]
Message-ID: <20110801110318.GA11811@windriver.com> (raw)
In-Reply-To: <1312158567-22483-1-git-send-email-broonie@opensource.wolfsonmicro.com>

[[PATCH] ARM: SAMSUNG: Fix build of dev- infrastructure for module.h changes] On 01/08/2011 (Mon 09:29) Mark Brown wrote:

> The recent module.h changes cause a bunch of missing includes in the
> Samsung dev- infrastructure.

Thanks, but I've already fixed these just last night when I built
each and every one of all the arch/arm/config/* files.  So it should
be OK now.

I double checked what I did against yours, and I was using the
more minimal export.h in dev-wdt.c file.  Did I miss something
where it really requires all of module.h file?

Thanks,
Paul.

> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
>  arch/arm/plat-samsung/dev-adc.c       |    2 ++
>  arch/arm/plat-samsung/dev-backlight.c |    3 +++
>  arch/arm/plat-samsung/dev-ide.c       |    2 ++
>  arch/arm/plat-samsung/dev-ts.c        |    2 ++
>  arch/arm/plat-samsung/dev-wdt.c       |    3 +++
>  arch/arm/plat-samsung/platformdata.c  |    1 +
>  6 files changed, 13 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-samsung/dev-adc.c b/arch/arm/plat-samsung/dev-adc.c
> index 9d903d4..c7e3257 100644
> --- a/arch/arm/plat-samsung/dev-adc.c
> +++ b/arch/arm/plat-samsung/dev-adc.c
> @@ -13,6 +13,8 @@
>  #include <linux/string.h>
>  #include <linux/platform_device.h>
>  
> +#include <asm/sizes.h>
> +
>  #include <mach/irqs.h>
>  #include <mach/map.h>
>  
> diff --git a/arch/arm/plat-samsung/dev-backlight.c b/arch/arm/plat-samsung/dev-backlight.c
> index 3cedd4c..825a884 100644
> --- a/arch/arm/plat-samsung/dev-backlight.c
> +++ b/arch/arm/plat-samsung/dev-backlight.c
> @@ -14,6 +14,9 @@
>  #include <linux/platform_device.h>
>  #include <linux/io.h>
>  #include <linux/pwm_backlight.h>
> +#include <linux/slab.h>
> +
> +#include <asm/sizes.h>
>  
>  #include <plat/devs.h>
>  #include <plat/gpio-cfg.h>
> diff --git a/arch/arm/plat-samsung/dev-ide.c b/arch/arm/plat-samsung/dev-ide.c
> index b497982..5407574 100644
> --- a/arch/arm/plat-samsung/dev-ide.c
> +++ b/arch/arm/plat-samsung/dev-ide.c
> @@ -14,6 +14,8 @@
>  #include <linux/interrupt.h>
>  #include <linux/platform_device.h>
>  
> +#include <asm/sizes.h>
> +
>  #include <mach/map.h>
>  #include <plat/ata.h>
>  #include <plat/devs.h>
> diff --git a/arch/arm/plat-samsung/dev-ts.c b/arch/arm/plat-samsung/dev-ts.c
> index 82543f0..3eede40 100644
> --- a/arch/arm/plat-samsung/dev-ts.c
> +++ b/arch/arm/plat-samsung/dev-ts.c
> @@ -17,6 +17,8 @@
>  #include <linux/string.h>
>  #include <linux/platform_device.h>
>  
> +#include <asm/sizes.h>
> +
>  #include <mach/irqs.h>
>  #include <mach/map.h>
>  
> diff --git a/arch/arm/plat-samsung/dev-wdt.c b/arch/arm/plat-samsung/dev-wdt.c
> index 019b5b8..207a213 100644
> --- a/arch/arm/plat-samsung/dev-wdt.c
> +++ b/arch/arm/plat-samsung/dev-wdt.c
> @@ -12,6 +12,9 @@
>  
>  #include <linux/kernel.h>
>  #include <linux/platform_device.h>
> +#include <linux/module.h>
> +
> +#include <asm/sizes.h>
>  
>  #include <mach/irqs.h>
>  #include <mach/map.h>
> diff --git a/arch/arm/plat-samsung/platformdata.c b/arch/arm/plat-samsung/platformdata.c
> index 7cf2e1e..f857593 100644
> --- a/arch/arm/plat-samsung/platformdata.c
> +++ b/arch/arm/plat-samsung/platformdata.c
> @@ -12,6 +12,7 @@
>  #include <linux/kernel.h>
>  #include <linux/string.h>
>  #include <linux/platform_device.h>
> +#include <linux/slab.h>
>  
>  #include <plat/devs.h>
>  
> -- 
> 1.7.5.4
> 

  reply	other threads:[~2011-08-01 11:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01  0:29 [PATCH] ARM: SAMSUNG: Fix build of dev- infrastructure for module.h changes Mark Brown
2011-08-01 11:03 ` Paul Gortmaker [this message]
2011-08-01 11:35   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110801110318.GA11811@windriver.com \
    --to=paul.gortmaker@windriver.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.