]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
13 years agoxen: Add module.h to modular drivers/xen users.
Paul Gortmaker [Sun, 3 Jul 2011 20:20:57 +0000 (16:20 -0400)]
xen: Add module.h to modular drivers/xen users.

Previously these drivers just got module.h implicitly, but we
are cleaning that up and it will be no longer.  Call out the
real users of it.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoscsi: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required
Paul Gortmaker [Sun, 10 Jul 2011 16:55:15 +0000 (12:55 -0400)]
scsi: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required

For the basic SCSI infrastructure files that are exporting symbols
but not modules themselves, add in the basic export.h header file
to allow the exports.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoscsi: Add module.h to drivers/scsi users who really need it.
Paul Gortmaker [Sun, 17 Jul 2011 19:23:40 +0000 (15:23 -0400)]
scsi: Add module.h to drivers/scsi users who really need it.

The module.h was really just about everywhere.  But no more.
With a cleanup, you'll really need to grab it if you want it.
Fix up the users who really need it in SCSI.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agostaging: Add export.h for THIS_MODULE/EXPORT_SYMBOL to drivers/staging users.
Paul Gortmaker [Sun, 10 Jul 2011 17:09:12 +0000 (13:09 -0400)]
staging: Add export.h for THIS_MODULE/EXPORT_SYMBOL to drivers/staging users.

Lots of drivers have in the past expected the presence of basic things
like THIS_MODULE and EXPORT_SYMBOL.  With the header cleanup, they wont
have these.  Call out the include explicitly.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agommc: Fix implicit use of stat.h header in associated files
Paul Gortmaker [Fri, 15 Jul 2011 16:01:27 +0000 (12:01 -0400)]
mmc: Fix implicit use of stat.h header in associated files

Once the implicit use of module.h is prevented, these files will
fail to find the stat.h header content.

Fix up the implicit usage expectations in advance of the cleanup.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agommc: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required
Paul Gortmaker [Sun, 10 Jul 2011 16:42:00 +0000 (12:42 -0400)]
mmc: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required

These two basic defines were everywhere, simply because module.h
was also everywhere.   But we are cleaning up the latter.  So make
the exporters actually call out their need for the include.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agommc: Add module.h to drivers/mmc users assuming implicit presence.
Paul Gortmaker [Sun, 3 Jul 2011 19:15:51 +0000 (15:15 -0400)]
mmc: Add module.h to drivers/mmc users assuming implicit presence.

We are cleaning up the implicit presence of module.h; these guys are
some of the people who just assume it will be there.  Call it out
explitly for those that really need it.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agomfd: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required
Paul Gortmaker [Sun, 10 Jul 2011 16:41:10 +0000 (12:41 -0400)]
mfd: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required

These macros are in <linux/export.h> and will no longer be
implicitly everywhere anymore.  Fix it up in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agomfd: Add module.h to the implicit drivers/mfd users
Paul Gortmaker [Sun, 3 Jul 2011 19:13:27 +0000 (15:13 -0400)]
mfd: Add module.h to the implicit drivers/mfd users

With the pending module.h cleanup, these files will fail to compile,
unless they explicitly call out the include of this file.

[omap-usb-host addition courtesy of Anand Gadiyar <gadiyar@ti.com>]

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agobcma: fix implicit use of export.h contents
Paul Gortmaker [Thu, 28 Jul 2011 01:21:04 +0000 (21:21 -0400)]
bcma: fix implicit use of export.h contents

Fix in advance, or we will get this:

drivers/bcma/core.c:20: warning: data definition has no type or storage class
drivers/bcma/core.c:20: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/bcma/core.c:20: warning: parameter names (without types) in function declaration

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agobcma: add module.h to the modular portions of this driver
Paul Gortmaker [Fri, 1 Jul 2011 20:06:37 +0000 (16:06 -0400)]
bcma: add module.h to the modular portions of this driver

This will ensure that it continues to build once we remove
the implicit module.h presence from everywhere later on.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agouio: Add module.h to implicit drivers/uio users
Paul Gortmaker [Sun, 17 Jul 2011 20:38:40 +0000 (16:38 -0400)]
uio: Add module.h to implicit drivers/uio users

We are cleaning up the omnipresent module.h stuff, so people
who really use it need to call it out explicitly.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agossb: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE
Paul Gortmaker [Thu, 28 Jul 2011 02:07:02 +0000 (22:07 -0400)]
ssb: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE

Or we will get things like this when we remove the implicit path:

drivers/ssb/embedded.c:32: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
drivers/ssb/driver_chipcommon.c:432: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
drivers/ssb/driver_chipcommon_pmu.c:607: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
drivers/ssb/pcihost_wrapper.c:120: error: ‘THIS_MODULE’ undeclared (first use in this function)
drivers/ssb/driver_pcicore.c:721: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
drivers/ssb/driver_gige.c:249: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agossb: Add module.h to the real modules in drivers/ssb
Paul Gortmaker [Sun, 17 Jul 2011 20:03:40 +0000 (16:03 -0400)]
ssb: Add module.h to the real modules in drivers/ssb

The header cleanup means that module.h is no longer simply
everywhere.  So real modules need to actively include it.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/zorro: Add export.h to proc.c
Paul Gortmaker [Mon, 1 Aug 2011 14:58:14 +0000 (10:58 -0400)]
drivers/zorro: Add export.h to proc.c

To fix what used to be the implicit presence of the macros
EXPORT_SYMBOL and THIS_MODULE, via module.h being everywhere.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/w1: Add export.h for EXPORT_SYMBOL to w1_family.c
Paul Gortmaker [Sun, 10 Jul 2011 17:21:52 +0000 (13:21 -0400)]
drivers/w1: Add export.h for EXPORT_SYMBOL to w1_family.c

Give this file export.h so that it can reliably get the EXPORT_SYMBOL
macros in the future, once module.h isn't implicitly everywhere.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/sh: Add export.h for EXPORT_SYMBOL to intc/virq.c
Paul Gortmaker [Sun, 10 Jul 2011 16:57:12 +0000 (12:57 -0400)]
drivers/sh: Add export.h for EXPORT_SYMBOL to intc/virq.c

This is exporting symbols and will fail to build once we remove
the implicit presence of module.h

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/sfi: sfi_acpi.c needs sysfs.h
Randy Dunlap [Sat, 30 Jul 2011 01:09:12 +0000 (18:09 -0700)]
drivers/sfi: sfi_acpi.c needs sysfs.h

sfi_acpi.c needs to include linux/sysfs.h for data types.

drivers/sfi/sfi_core.h:66: error: field 'attr' has incomplete type
drivers/sfi/sfi_acpi.c:179: warning: 'struct kobject' declared inside parameter list
drivers/sfi/sfi_acpi.c:179: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/sfi/sfi_acpi.c:182: warning: type defaults to 'int' in declaration of '__mptr'
drivers/sfi/sfi_acpi.c:182: warning: initialization from incompatible pointer type

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/rapidio: Fix up it implicitly relying on getting stat.h
Paul Gortmaker [Fri, 15 Jul 2011 20:48:24 +0000 (16:48 -0400)]
drivers/rapidio: Fix up it implicitly relying on getting stat.h

Upon the trial removal of the implicit presence of module.h,
lots of files showed up that were getting the sub-includes
by default without calling them out.  Here is one of them.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/power: Add module.h to the actual modules in drivers/power
Paul Gortmaker [Sun, 3 Jul 2011 19:28:29 +0000 (15:28 -0400)]
drivers/power: Add module.h to the actual modules in drivers/power

The module.h header is no longer going to be implicitly present
everywhere.  So real modular users need to call out its use
explicitly in advance.

[v2: add new users reported by Randy Dunlap <rdunlap@xenotime.net>]

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/of: include export.h for EXPORT_SYMBOL_GPL in of_pci_irq.c
Stephen Rothwell [Fri, 29 Jul 2011 06:05:38 +0000 (16:05 +1000)]
drivers/of: include export.h for EXPORT_SYMBOL_GPL in of_pci_irq.c

This is an interaction with commit 98d9f30c820d ("pci/of: Match PCI
devices to OF nodes dynamically") which split off part of
drivers/of/of_pci.c, causing:

drivers/of/of_pci_irq.c:92:1: warning: data definition has no type or storage class
drivers/of/of_pci_irq.c:92:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/of/of_pci_irq.c:92:1: warning: parameter names (without types) in function declaration

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/misc: Add export.h for EXPORT_SYMBOL to atmel_tclib.c
Paul Gortmaker [Sun, 10 Jul 2011 16:41:41 +0000 (12:41 -0400)]
drivers/misc: Add export.h for EXPORT_SYMBOL to atmel_tclib.c

This exports symbols, and so will need this to avoid build failures
pending a future module.h presence cleanup.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/misc: Add module.h to files who are really modular.
Paul Gortmaker [Sun, 3 Jul 2011 19:14:56 +0000 (15:14 -0400)]
drivers/misc: Add module.h to files who are really modular.

These files really need the full module.h header file present, but
were just getting it implicitly before.  Fix it up in advance so we
avoid build failures once the cleanup commit is present.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/message: Add module.h to i2o/pci.c
Paul Gortmaker [Sun, 3 Jul 2011 19:13:20 +0000 (15:13 -0400)]
drivers/message: Add module.h to i2o/pci.c

This file really needs the full module.h header file present, but
was just getting it implicitly before.  Fix it up in advance so we
avoid build failures once the cleanup commit is present.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/memstick: Add module.h to the prev. implicit modular users
Paul Gortmaker [Sun, 3 Jul 2011 19:12:37 +0000 (15:12 -0400)]
drivers/memstick: Add module.h to the prev. implicit modular users

This is another group of drivers that simply assumed that module.h was
everywhere.  But it won't be once we clean up its presence from device.h
Call out the real users of it in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/media: Add module.h to all files using it implicitly
Paul Gortmaker [Sun, 3 Jul 2011 18:03:12 +0000 (14:03 -0400)]
drivers/media: Add module.h to all files using it implicitly

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in clocksource
are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/media: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required
Paul Gortmaker [Mon, 1 Aug 2011 19:26:38 +0000 (15:26 -0400)]
drivers/media: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required

These two macros were in module.h but now module.h is no longer
sprayed across every source file imaginable, so the users need
to expicitly call out their use of them.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/media: ir-raw.c needs kmod.h for request_module
Stephen Rothwell [Fri, 29 Jul 2011 05:34:32 +0000 (15:34 +1000)]
drivers/media: ir-raw.c needs kmod.h for request_module

To fix:

drivers/media/rc/ir-raw.c: In function 'init_decoders':
drivers/media/rc/ir-raw.c:354:2: error: implicit declaration of function 'request_module'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/leds: Add export.h for THIS_MODULE to leds-cobalt-raq.c
Paul Gortmaker [Sun, 10 Jul 2011 16:24:44 +0000 (12:24 -0400)]
drivers/leds: Add export.h for THIS_MODULE to leds-cobalt-raq.c

In preparation of the module.h usage cleanup, call out the export.h
to avoid build failures when that happens.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/leds: Add module.h to files using it implicitly
Paul Gortmaker [Sun, 3 Jul 2011 17:56:03 +0000 (13:56 -0400)]
drivers/leds: Add module.h to files using it implicitly

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in the leds
dir are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/isdn: Add export.h for THIS_MODULE to capi/kcapi_proc.c
Paul Gortmaker [Sun, 10 Jul 2011 16:23:16 +0000 (12:23 -0400)]
drivers/isdn: Add export.h for THIS_MODULE to capi/kcapi_proc.c

In preparation of the module.h usage cleanup, call out the header
that we need to get THIS_MODULE into scope.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/hwmon: add module.h to ultra45_env.c
Paul Gortmaker [Mon, 18 Jul 2011 20:05:10 +0000 (16:05 -0400)]
drivers/hwmon: add module.h to ultra45_env.c

This file needs the full module.h header and up to now was just
implicitly capitalizing on it being present already.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/gpio: Fix drivers who are implicit users of module.h
Paul Gortmaker [Sun, 3 Jul 2011 17:38:09 +0000 (13:38 -0400)]
drivers/gpio: Fix drivers who are implicit users of module.h

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in gpio
are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/firmware: Add export.h for EXPORT_SYMBOL to sigma.c
Paul Gortmaker [Sun, 10 Jul 2011 16:16:38 +0000 (12:16 -0400)]
drivers/firmware: Add export.h for EXPORT_SYMBOL to sigma.c

It exports symbols, so it will need this once we remove the implicit
everywhere presence of module.h

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/firmware: Add module.h to google/gsmi.c
Paul Gortmaker [Sun, 3 Jul 2011 17:38:03 +0000 (13:38 -0400)]
drivers/firmware: Add module.h to google/gsmi.c

This file really needs the full module.h header file present, but
was just getting it implicitly before.  Fix it up in advance so we
avoid build failures once the cleanup commit is present.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/firewire: Add export.h for EXPORT_SYMBOL to core-iso.c
Paul Gortmaker [Sun, 10 Jul 2011 16:16:32 +0000 (12:16 -0400)]
drivers/firewire: Add export.h for EXPORT_SYMBOL to core-iso.c

Ensure that the EXPORT_SYMBOL macros are present for when we clean up
the "module.h" is everywhere situation, to prevent build failures.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/edac: Add module.h to mce_amd_inj.c
Paul Gortmaker [Sun, 3 Jul 2011 17:37:56 +0000 (13:37 -0400)]
drivers/edac: Add module.h to mce_amd_inj.c

This file really needs the full module.h header file present, but
was just getting it implicitly before.  Fix it up in advance so we
avoid build failures once the cleanup commit is present.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/dma: Add export.h to ste_dma40.c
Paul Gortmaker [Sun, 31 Jul 2011 20:17:36 +0000 (16:17 -0400)]
drivers/dma: Add export.h to ste_dma40.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/dma: Add module.h to ipu/ipu_idmac.c
Paul Gortmaker [Sun, 31 Jul 2011 20:14:17 +0000 (16:14 -0400)]
drivers/dma: Add module.h to ipu/ipu_idmac.c

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/dca: Add export.h for THIS_MODULE to dca-sysfs.c
Paul Gortmaker [Sun, 10 Jul 2011 16:15:51 +0000 (12:15 -0400)]
drivers/dca: Add export.h for THIS_MODULE to dca-sysfs.c

Ensure we have access to the THIS_MODLUE macro once we clean up
the implicit module.h usage.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/dca: Add module.h to dca-core.c
Paul Gortmaker [Sun, 3 Jul 2011 17:37:11 +0000 (13:37 -0400)]
drivers/dca: Add module.h to dca-core.c

This file really needs the full module.h header file present, but
was just getting it implicitly before.  Call it out in advance so
that we don't get future build failures on this.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/clocksource: Add module.h to those who were using it implicitly
Paul Gortmaker [Sun, 3 Jul 2011 17:36:22 +0000 (13:36 -0400)]
drivers/clocksource: Add module.h to those who were using it implicitly

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in clocksource
are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/char: Fix implicit use of err.h in ramoops.c
Paul Gortmaker [Thu, 28 Jul 2011 01:31:17 +0000 (21:31 -0400)]
drivers/char: Fix implicit use of err.h in ramoops.c

drivers/char/ramoops.c: In function 'ramoops_init':
drivers/char/ramoops.c:221: error: implicit declaration of function 'IS_ERR'
drivers/char/ramoops.c:222: error: implicit declaration of function 'PTR_ERR'
make[3]: *** [drivers/char/ramoops.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/char: Add export.h for THIS_MODULE to ttyprintk.c
Paul Gortmaker [Sun, 10 Jul 2011 16:14:53 +0000 (12:14 -0400)]
drivers/char: Add export.h for THIS_MODULE to ttyprintk.c

It will need it called out explicitly in the near future due
to a module.h usage cleanup.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/char: Add module.h to those who were using it implicitly
Paul Gortmaker [Sun, 3 Jul 2011 17:35:48 +0000 (13:35 -0400)]
drivers/char: Add module.h to those who were using it implicitly

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in char are
actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/base: base.h implicitly depends on <linux/notifier.h>
Paul Gortmaker [Thu, 26 May 2011 22:08:35 +0000 (18:08 -0400)]
drivers/base: base.h implicitly depends on <linux/notifier.h>

This file is currently relying on <linux/module.h> sneaking it in
through the implicit include paths from device.h.  Once that
is cleaned up, this will happen:

In file included from drivers/base/init.c:12:
drivers/base/base.h:34: error: field ‘bus_notifier’ has incomplete type
make[3]: *** [drivers/base/init.o] Error 1

Fix it up in advance, so the cleanup can continue.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/base: dma-coherent.c is a module and needs module.h
Paul Gortmaker [Fri, 1 Jul 2011 20:07:32 +0000 (16:07 -0400)]
drivers/base: dma-coherent.c is a module and needs module.h

It was implicitly getting it before, but it will break compiles
once we fix that.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/base: Fix various files needing export.h for EXPORT_SYMBOL
Paul Gortmaker [Fri, 27 May 2011 11:12:15 +0000 (07:12 -0400)]
drivers/base: Fix various files needing export.h for EXPORT_SYMBOL

Most of these files were implicitly getting EXPORT_SYMBOL via
device.h which was including module.h, but that path will be broken
soon.  Similar for wakeup.c; it needs EXPORT_SYMBOL and THIS_MODULE.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoide/ata: Add module.h to the implicit modular users
Paul Gortmaker [Sun, 3 Jul 2011 17:41:29 +0000 (13:41 -0400)]
ide/ata: Add module.h to the implicit modular users

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in the ide dir
are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoide/ata: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed
Paul Gortmaker [Sun, 17 Jul 2011 19:33:58 +0000 (15:33 -0400)]
ide/ata: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed

They were getting this implicitly by an include of module.h
from device.h -- but we are going to clean that up and break
that include chain, so include export.h explicitly now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoinfiniband: add in export.h for files using EXPORT_SYMBOL/THIS_MODULE
Paul Gortmaker [Fri, 27 May 2011 19:29:33 +0000 (15:29 -0400)]
infiniband: add in export.h for files using EXPORT_SYMBOL/THIS_MODULE

These were getting it implicitly via device.h --> module.h but
we are going to stop that when we clean up the headers.

Fix these in advance so the tree remains biscect-clean.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoinfiniband: Fix up module files that need to include module.h
Paul Gortmaker [Fri, 27 May 2011 19:35:46 +0000 (15:35 -0400)]
infiniband: Fix up module files that need to include module.h

They had been getting it implicitly via device.h but we can't
rely on that for the future, due to a pending cleanup so fix
it now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoinfiniband: Fix up users implicitly relying on getting stat.h
Paul Gortmaker [Fri, 27 May 2011 17:27:45 +0000 (13:27 -0400)]
infiniband: Fix up users implicitly relying on getting stat.h

They get it via module.h (via device.h) but we want to clean that up.
When we do, we'll get things like:

  CC [M]  drivers/infiniband/core/sysfs.o
  sysfs.c:361: error: 'S_IRUGO' undeclared here (not in a function)
  sysfs.c:654: error: 'S_IWUSR' undeclared here (not in a function)

so add in the stat header it is using explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agovideo: Add module.h to drivers/video files who really use it.
Paul Gortmaker [Sun, 3 Jul 2011 20:17:28 +0000 (16:17 -0400)]
video: Add module.h to drivers/video files who really use it.

They were getting this implicitly by an include of module.h
from device.h -- but we are going to clean that up and break
that include chain, so include module.h explicitly now.

[ with contributions from Axel Lin <axel.lin@gmail.com> ]

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agovideo: Add export.h for THIS_MODULE/EXPORT_SYMBOL to drivers/video
Paul Gortmaker [Sun, 10 Jul 2011 17:20:26 +0000 (13:20 -0400)]
video: Add export.h for THIS_MODULE/EXPORT_SYMBOL to drivers/video

With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoselinux: netlink.c uses THIS_MODULE; give it assoc. header
Paul Gortmaker [Fri, 27 May 2011 00:52:10 +0000 (20:52 -0400)]
selinux: netlink.c uses THIS_MODULE; give it assoc. header

The pervasive, but implicit presence of <linux/module.h> meant
that things like this file would happily compile as-is.  But
with the desire to phase out the module.h being included everywhere,
point this file at export.h which will give it THIS_MODULE.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agocpufreq: Fix build of s3c64xx cpufreq driver for header change
Mark Brown [Fri, 29 Jul 2011 15:19:26 +0000 (16:19 +0100)]
cpufreq: Fix build of s3c64xx cpufreq driver for header change

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

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agocpufreq: cpufreq_stats.c is a module, and should include module.h
Paul Gortmaker [Fri, 27 May 2011 17:23:32 +0000 (13:23 -0400)]
cpufreq: cpufreq_stats.c is a module, and should include module.h

So that we can clean up the header files and not be relying
on implicit includes from device.h ---> module.h

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoi2c: Add module.h to modular files prev. implicitly getting it
Paul Gortmaker [Sat, 30 Jul 2011 04:14:30 +0000 (21:14 -0700)]
i2c: Add module.h to modular files prev. implicitly getting it

These files use interfaces from linux/module.h, so they must
include that file to avoid build errors when the implicit
presence of module.h is removed.

[with i2c-pxa-pci.c fix from Randy Dunlap <rdunlap@xenotime.net>]

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoi2c: add export.h to i2c-boardinfo.c for EXPORT_SYMBOL
Paul Gortmaker [Fri, 27 May 2011 14:46:24 +0000 (10:46 -0400)]
i2c: add export.h to i2c-boardinfo.c for EXPORT_SYMBOL

With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agortc: Add module.h to implicit users in drivers/rtc
Paul Gortmaker [Fri, 27 May 2011 13:57:25 +0000 (09:57 -0400)]
rtc: Add module.h to implicit users in drivers/rtc

The module.h was implicitly everywhere, but when we clean
that up, the implicit users will compile fail; fix them up
in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agotty: Add export.h for EXPORT_SYMBOL/THIS_MODULE to exporters
Paul Gortmaker [Fri, 27 May 2011 14:46:24 +0000 (10:46 -0400)]
tty: Add export.h for EXPORT_SYMBOL/THIS_MODULE to exporters

With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agotty: Add module.h to drivers/tty users who just expect it there.
Paul Gortmaker [Fri, 27 May 2011 20:14:23 +0000 (16:14 -0400)]
tty: Add module.h to drivers/tty users who just expect it there.

We are cleaning up the issue that means module.h is omnipresent.
These tty users are the people who implictly are relying on that.
Fix up the real users to call out the include that they really need.

In the case of jsm_driver.c file, it had moduleparam.h but that
isn't enough and it needs the full module.h

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agousb: fix implicit usage of gfp.h in host/xhci-hub.c
Paul Gortmaker [Mon, 18 Jul 2011 18:42:00 +0000 (14:42 -0400)]
usb: fix implicit usage of gfp.h in host/xhci-hub.c

To fix this build error on ARM:

drivers/usb/host/xhci-hub.c: In function 'xhci_stop_device':
drivers/usb/host/xhci-hub.c:261: error: 'GFP_NOIO' undeclared (first use in this function)
make[4]: *** [drivers/usb/host/xhci-hub.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agousb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed
Paul Gortmaker [Fri, 27 May 2011 13:56:31 +0000 (09:56 -0400)]
usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed

With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.

Use the lightweight version of the header that has just THIS_MODULE
and EXPORT_SYMBOL variants.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agousb: Add module.h to drivers/usb consumers who really use it.
Paul Gortmaker [Sun, 3 Jul 2011 20:09:31 +0000 (16:09 -0400)]
usb: Add module.h to drivers/usb consumers who really use it.

The situation up to this point meant that module.h was pretty
much everywhere, regardless of whether you asked for it or not.
We are fixing that, so give the USB folks who want it an actual
include of it.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoscsi: Fix up files implicitly depending on module.h inclusion
Paul Gortmaker [Fri, 27 May 2011 13:47:43 +0000 (09:47 -0400)]
scsi: Fix up files implicitly depending on module.h inclusion

The module.h header was implicitly present everywhere, so files
with no explicit include of the module infrastructure would build
anyway.  We are now fixing the include bird's nest, and so we need
to call out the module.h file that we need explicitly.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoscsi: Fix files needing export.h since they use EXPORT_SYMBOL
Paul Gortmaker [Fri, 27 May 2011 13:37:25 +0000 (09:37 -0400)]
scsi: Fix files needing export.h since they use EXPORT_SYMBOL

They were implicitly getting it from device.h --> module.h but
we want to clean that up and untangle that mess.  So add the
minimal header for the exports.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agopci: add module.h to files implicitly relying on its presence.
Paul Gortmaker [Fri, 27 May 2011 13:42:30 +0000 (09:42 -0400)]
pci: add module.h to files implicitly relying on its presence.

These were getting module.h implicitly from device.h but we want
to clean that up, so we fix it here to avoid things like:

pci/slot.c: In function ‘pci_hp_create_module_link’:
pci/slot.c:383: error: ‘module_kset’ undeclared (first use in this function)

Similarly, rpadlpar_core.c is modular, so add module.h to its includes.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agopci: Fix files needing export.h since they use EXPORT_SYMBOL
Paul Gortmaker [Fri, 27 May 2011 13:37:25 +0000 (09:37 -0400)]
pci: Fix files needing export.h since they use EXPORT_SYMBOL

They were implicitly getting it from device.h --> module.h but
we want to clean that up and untangle that mess.  So add the
minimal header for the exports.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agosound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed
Paul Gortmaker [Sun, 17 Jul 2011 19:08:17 +0000 (15:08 -0400)]
sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed

These aren't modules, but they do make use of these macros, so
they will need export.h to get that definition.  Previously,
they got it via the implicit module.h inclusion.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agosound: Add module.h to the previously silent sound users
Paul Gortmaker [Fri, 15 Jul 2011 16:38:28 +0000 (12:38 -0400)]
sound: Add module.h to the previously silent sound users

Lots of sound drivers were getting module.h via the implicit presence
of it in <linux/device.h> but we are going to clean that up.  So
fix up those users now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agosound: fix drivers needing module.h not moduleparam.h
Paul Gortmaker [Fri, 15 Jul 2011 17:13:37 +0000 (13:13 -0400)]
sound: fix drivers needing module.h not moduleparam.h

The implicit presence of module.h lured several users into
incorrectly thinking that they only needed/used modparam.h
but once we clean up the module.h presence, these will show
up as build failures, so fix 'em now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agomd: Add in export.h for files using EXPORT_SYMBOL
Paul Gortmaker [Fri, 27 May 2011 19:50:58 +0000 (15:50 -0400)]
md: Add in export.h for files using EXPORT_SYMBOL

These files were getting the defines for EXPORT_SYMBOL because
device.h was including module.h.  But we are going to put an
end to that.  So add the proper export.h include now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agomd: Add module.h to all files using it implicitly
Paul Gortmaker [Sun, 3 Jul 2011 17:58:33 +0000 (13:58 -0400)]
md: Add module.h to all files using it implicitly

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in md dir
are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agohid: Fix up files needing export.h for EXPORT_SYMBOL
Paul Gortmaker [Fri, 27 May 2011 14:25:27 +0000 (10:25 -0400)]
hid: Fix up files needing export.h for EXPORT_SYMBOL

With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agohid: Add module.h to fix up implicit users of it
Paul Gortmaker [Sun, 3 Jul 2011 17:39:48 +0000 (13:39 -0400)]
hid: Add module.h to fix up implicit users of it

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in clocksource
are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/input: Add module.h to modular drivers implicitly using it
Paul Gortmaker [Sun, 3 Jul 2011 17:53:48 +0000 (13:53 -0400)]
drivers/input: Add module.h to modular drivers implicitly using it

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore.  Make sure the modular drivers in input dir
are actually calling out for <module.h> explicitly in advance.

[with kxtj9 fix from Stephen Rothwell <sfr@canb.auug.org.au>]

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers: power_supply_sysfs.c needs stat.h
Paul Gortmaker [Fri, 27 May 2011 14:22:46 +0000 (10:22 -0400)]
drivers: power_supply_sysfs.c needs stat.h

It was actually getting this before by a tangled mess of implict
includes that is going to be cleaned up.  Fix it now, so we don't
get this after the cleanup.

power_supply_sysfs.c: In function ‘power_supply_attr_is_visible’:
power_supply_sysfs.c:184: error: ‘S_IRUSR’ undeclared (first use in this function)
power_supply_sysfs.c:184: error: (Each undeclared identifier is reported only once
power_supply_sysfs.c:184: error: for each function it appears in.)
power_supply_sysfs.c:184: error: ‘S_IRGRP’ undeclared (first use in this function)
power_supply_sysfs.c:184: error: ‘S_IROTH’ undeclared (first use in this function)
power_supply_sysfs.c:196: error: ‘S_IWUSR’ undeclared (first use in this function)
make[3]: *** [drivers/power/power_supply_sysfs.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/base: transport_class explicitly requires EXPORT_SYMBOL
Paul Gortmaker [Thu, 26 May 2011 20:00:52 +0000 (16:00 -0400)]
drivers/base: transport_class explicitly requires EXPORT_SYMBOL

This file was getting <linux/module.h> via an implicit include
path, but we want to crush those out of existence since they cost
time during compiles of processing thousands of lines of headers
for no reason.  Give it the lightweight header that just contains
the EXPORT_SYMBOL infrastructure.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoof: of_pci.c needs export.h since it uses EXPORT_SYMBOLS
Paul Gortmaker [Fri, 27 May 2011 21:06:52 +0000 (17:06 -0400)]
of: of_pci.c needs export.h since it uses EXPORT_SYMBOLS

It was getting it implicitly before, since module.h was pulled
in via device.h -- but that is something we are going to make
go away soon.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoof_platform.h: delete needless include <linux/module.h>
Paul Gortmaker [Thu, 26 May 2011 19:58:15 +0000 (15:58 -0400)]
of_platform.h: delete needless include <linux/module.h>

There is nothing modular in this file, and no reason to drag
in all the 357 headers that module.h brings with it, since
it just slows down compiles.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoblock: Fix files that are modules and hence need module.h
Paul Gortmaker [Fri, 1 Jul 2011 19:56:05 +0000 (15:56 -0400)]
block: Fix files that are modules and hence need module.h

We want to remove the implicit everywhere presence of module.h
so fix up the people relying on that implicit presence in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoblock: add export.h to files using EXPORT_SYMBOL/THIS_MODULE macros
Paul Gortmaker [Thu, 26 May 2011 20:00:52 +0000 (16:00 -0400)]
block: add export.h to files using EXPORT_SYMBOL/THIS_MODULE macros

These files were getting <linux/module.h> via an implicit include
path, but we want to crush those out of existence since they cost
time during compiles of processing thousands of lines of headers
for no reason.  Give them the lightweight header that just contains
the EXPORT_SYMBOL infrastructure.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agomtd: Add module.h to drivers users that were implicitly using it.
Paul Gortmaker [Sun, 3 Jul 2011 19:17:31 +0000 (15:17 -0400)]
mtd: Add module.h to drivers users that were implicitly using it.

We are cleaning up the implicit presence of module.h that these
drivers are taking advantage of.  Fix them in advance of the
cleanup operation.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agomtd: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed
Paul Gortmaker [Sun, 10 Jul 2011 16:43:28 +0000 (12:43 -0400)]
mtd: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed

These two common macros will be no longer present everywhere.
Call out the include needs of them explicitly where required.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agocrypto: add module.h to those files that are explicitly using it
Paul Gortmaker [Fri, 27 May 2011 18:41:48 +0000 (14:41 -0400)]
crypto: add module.h to those files that are explicitly using it

Part of the include cleanups means that the implicit
inclusion of module.h via device.h is going away.  So
fix things up in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/net: Add export.h to mlx4 files using EXPORT_SYMBOL
Paul Gortmaker [Fri, 27 May 2011 20:14:23 +0000 (16:14 -0400)]
drivers/net: Add export.h to mlx4 files using EXPORT_SYMBOL

These were getting the EXPORT_SYMBOL from an implicit module.h
include via device.h, but we are planning to clean that up.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agodrivers/net: Add module.h to drivers who were implicitly using it
Paul Gortmaker [Sun, 3 Jul 2011 19:21:01 +0000 (15:21 -0400)]
drivers/net: Add module.h to drivers who were implicitly using it

The device.h header was including module.h, making it present for
these drivers.  But we want to clean that up.  Call out the include
of module.h in the modular network drivers.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agosh: Add export.h to arch/sh specific files as required.
Paul Gortmaker [Sun, 31 Jul 2011 23:20:02 +0000 (19:20 -0400)]
sh: Add export.h to arch/sh specific files as required.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agosh: Add module.h to arch/sh specific files as required.
Paul Gortmaker [Sun, 31 Jul 2011 23:18:02 +0000 (19:18 -0400)]
sh: Add module.h to arch/sh specific files as required.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agosh: fix implicit use of stat.h in arch/sh specific files
Paul Gortmaker [Sun, 31 Jul 2011 21:40:26 +0000 (17:40 -0400)]
sh: fix implicit use of stat.h in arch/sh specific files

To fix:

arch/sh/drivers/dma/dma-sysfs.c:45:8: error: 'S_IRUGO' undeclared here (not in a function)
arch/sh/drivers/dma/dma-sysfs.c:75:8: error: 'S_IWUSR' undeclared here (not in a function)
make[4]: *** [arch/sh/drivers/dma/dma-sysfs.o] Error 1

drivers/sh/intc/core.c:449: error: 'S_IRUGO' undeclared here (not in a function)
make[5]: *** [drivers/sh/intc/core.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoalpha: Add export.h for THIS_MODULE/EXPORT_SYMBOL
Paul Gortmaker [Mon, 1 Aug 2011 17:50:15 +0000 (13:50 -0400)]
alpha: Add export.h for THIS_MODULE/EXPORT_SYMBOL

These files were getting it via the implicit module.h
presence that was everywhere.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoalpha: fix implicit stat.h usage in pci-sysfs.c
Paul Gortmaker [Mon, 1 Aug 2011 17:52:27 +0000 (13:52 -0400)]
alpha: fix implicit stat.h usage in pci-sysfs.c

To avoid this:

arch/alpha/kernel/pci-sysfs.c:164: error: 'S_IRUSR' undeclared (first use in this function)
arch/alpha/kernel/pci-sysfs.c:164: error: 'S_IWUSR' undeclared (first use in this function)
make[2]: *** [arch/alpha/kernel/pci-sysfs.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoblackfin: add module.h to files implicitly expecting to use it.
Paul Gortmaker [Tue, 9 Aug 2011 20:54:30 +0000 (16:54 -0400)]
blackfin: add module.h to files implicitly expecting to use it.

Its presence was implicit everywhere, but we are aiming to fix that,
so call out the users explicitly.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoblackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE
Paul Gortmaker [Tue, 9 Aug 2011 15:05:22 +0000 (11:05 -0400)]
blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE

These particular files were just assuming that module.h was
somehow in the include paths.  Give them the more minimalist
header file explicitly.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoparisc: add module.h to files really requiring it
Paul Gortmaker [Thu, 11 Aug 2011 17:24:07 +0000 (13:24 -0400)]
parisc: add module.h to files really requiring it

We want to clean up the implicit everywhere presence of module.h
which means files like this that use module infrastructure need
to explicitly call it out for inclusion.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoparisc: Add export.h to files needing EXPORT_SYMBOL/THIS_MODULE
Paul Gortmaker [Mon, 1 Aug 2011 17:12:26 +0000 (13:12 -0400)]
parisc: Add export.h to files needing EXPORT_SYMBOL/THIS_MODULE

These guys were getting it implicitly via module.h before,
when module.h was everywhere.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agoavr32: add export.h to arch/avr32 for EXPORT_SYMBOL/THIS_MODULE
Paul Gortmaker [Mon, 1 Aug 2011 16:55:26 +0000 (12:55 -0400)]
avr32: add export.h to arch/avr32 for EXPORT_SYMBOL/THIS_MODULE

Add it in where the module.h implicit presence was doing
the job before.

[v2: relocate one include fix from Peter Huewe <peterhuewe@gmx.de>]

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
13 years agom68k: Add export.h to the m68k specific files as required
Paul Gortmaker [Mon, 1 Aug 2011 14:55:53 +0000 (10:55 -0400)]
m68k: Add export.h to the m68k specific files as required

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>