]> 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>
Tue, 2 Aug 2011 16:28:57 +0000 (12:28 -0400)
commitc384aef1d90ebd40a355084a1eb60da014985cc2
tree8445c54f9dafd2f90e2aa7505c0e4ea6bbea1afa
parent2ea76c2bd065cd25d4fc45d41edde82a333a59c8
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