]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: Fix files explicitly requiring export.h for EXPORT_SYMBOL/THIS_MODULE
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 16:22:53 +0000 (12:22 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 25 Aug 2011 17:54:37 +0000 (13:54 -0400)
commit4ef6bce214dae98cf0a6addce8587ee3072c7353
tree4402f2ed472345e3c2aa23992d16985f0a677922
parent849b01e0cd552b18f38d966569575a3941ccc297
x86: Fix files explicitly requiring export.h for EXPORT_SYMBOL/THIS_MODULE

These files were implicitly getting EXPORT_SYMBOL via device.h
which was including module.h, but that will be fixed up shortly.

By fixing these now, we can avoid seeing things like:

arch/x86/kernel/rtc.c:29: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
arch/x86/kernel/pci-dma.c:20: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’
arch/x86/kernel/e820.c:69: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’

[devicetree.c fix courtesy of Randy Dunlap <rdunlap@xenotime.net>]

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
19 files changed:
arch/x86/kernel/cpu/amd.c
arch/x86/kernel/cpu/mcheck/therm_throt.c
arch/x86/kernel/devicetree.c
arch/x86/kernel/e820.c
arch/x86/kernel/hpet.c
arch/x86/kernel/irq.c
arch/x86/kernel/pci-dma.c
arch/x86/kernel/probe_roms.c
arch/x86/kernel/rtc.c
arch/x86/kernel/smp.c
arch/x86/kernel/time.c
arch/x86/kernel/topology.c
arch/x86/pci/i386.c
arch/x86/pci/legacy.c
arch/x86/platform/efi/efi.c
arch/x86/platform/mrst/vrtc.c
arch/x86/platform/olpc/olpc-xo1-pm.c
arch/x86/platform/uv/bios_uv.c
arch/x86/power/cpu.c