]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: include export.h for files using EXPORT_SYMBOL/THIS_MODULE
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 29 Jul 2011 06:19:31 +0000 (16:19 +1000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 25 Aug 2011 17:54:40 +0000 (13:54 -0400)
commit09773e3bc0e416032ccd4d24a9b2d8726eeb743f
tree147fddaee236e789f8b59dea1eeecf1387754d66
parent0b0397464f51012240f341abfb81fd25c8681d56
powerpc: include export.h for files using EXPORT_SYMBOL/THIS_MODULE

Fix failures in powerpc associated with the previously allowed
implicit module.h presence that now lead to things like this:

arch/powerpc/mm/mmu_context_hash32.c:76:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/powerpc/mm/tlb_hash32.c:48:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/kernel/pci_32.c:51:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
arch/powerpc/kernel/iomap.c:36:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/platforms/44x/canyonlands.c:126:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/kvm/44x.c:168:59: error: 'THIS_MODULE' undeclared (first use in this function)

[with several contibutions from Stephen Rothwell <sfr@canb.auug.org.au>]

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
12 files changed:
arch/powerpc/include/asm/machdep.h
arch/powerpc/kernel/iomap.c
arch/powerpc/kernel/pci_32.c
arch/powerpc/kvm/44x.c
arch/powerpc/kvm/book3s_pr.c
arch/powerpc/mm/dma-noncoherent.c
arch/powerpc/mm/mmu_context_hash32.c
arch/powerpc/mm/tlb_hash32.c
arch/powerpc/mm/tlb_nohash.c
arch/powerpc/platforms/44x/warp.c
arch/powerpc/sysdev/ppc4xx_msi.c
arch/powerpc/sysdev/qe_lib/usb.c