]> 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, 11 Aug 2011 19:10:26 +0000 (15:10 -0400)
commit3fd38a8c55f0147caf2e99b36f93d36ab4a2b9eb
treeab0adec3e71ed402a28c79abfbe587634f6f6070
parente5e6180fffa28efd6dd6375e22e71586f1606dfc
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