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’
[ with input from Randy Dunlap <rdunlap@xenotime.net> and also
from Stephen Rothwell <sfr@canb.auug.org.au> ]
Signed-off-by:
Paul Gortmaker <paul.gortmaker@windriver.com>
Showing
- arch/x86/kernel/cpu/amd.c 1 addition, 0 deletionsarch/x86/kernel/cpu/amd.c
- arch/x86/kernel/cpu/mcheck/mce-apei.c 1 addition, 0 deletionsarch/x86/kernel/cpu/mcheck/mce-apei.c
- arch/x86/kernel/cpu/mcheck/mce.c 1 addition, 0 deletionsarch/x86/kernel/cpu/mcheck/mce.c
- arch/x86/kernel/cpu/mcheck/therm_throt.c 1 addition, 0 deletionsarch/x86/kernel/cpu/mcheck/therm_throt.c
- arch/x86/kernel/cpu/perf_event_intel.c 1 addition, 0 deletionsarch/x86/kernel/cpu/perf_event_intel.c
- arch/x86/kernel/devicetree.c 1 addition, 0 deletionsarch/x86/kernel/devicetree.c
- arch/x86/kernel/e820.c 1 addition, 0 deletionsarch/x86/kernel/e820.c
- arch/x86/kernel/hpet.c 1 addition, 0 deletionsarch/x86/kernel/hpet.c
- arch/x86/kernel/irq.c 1 addition, 0 deletionsarch/x86/kernel/irq.c
- arch/x86/kernel/nmi.c 1 addition, 0 deletionsarch/x86/kernel/nmi.c
- arch/x86/kernel/pci-dma.c 1 addition, 0 deletionsarch/x86/kernel/pci-dma.c
- arch/x86/kernel/probe_roms.c 2 additions, 2 deletionsarch/x86/kernel/probe_roms.c
- arch/x86/kernel/rtc.c 1 addition, 0 deletionsarch/x86/kernel/rtc.c
- arch/x86/kernel/smp.c 1 addition, 0 deletionsarch/x86/kernel/smp.c
- arch/x86/kernel/tboot.c 1 addition, 0 deletionsarch/x86/kernel/tboot.c
- arch/x86/kernel/time.c 1 addition, 0 deletionsarch/x86/kernel/time.c
- arch/x86/kernel/topology.c 1 addition, 0 deletionsarch/x86/kernel/topology.c
- arch/x86/pci/i386.c 1 addition, 0 deletionsarch/x86/pci/i386.c
- arch/x86/pci/legacy.c 1 addition, 0 deletionsarch/x86/pci/legacy.c
- arch/x86/platform/efi/efi.c 1 addition, 0 deletionsarch/x86/platform/efi/efi.c
Loading
Please register or sign in to comment