]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: fix implicit use of cache.h in kernel/firmware.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 22 Jul 2011 19:07:20 +0000 (15:07 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 2 Aug 2011 16:37:05 +0000 (12:37 -0400)
commit4568583cd1514e310b24dadc2805d6fa8cea3047
tree704438c93c4d4799ddfc2a990597181a21b32cfb
parent26858b5b5586cf3b39a7830eddae773bc9ec27bd
powerpc: fix implicit use of cache.h in kernel/firmware.c

This file only needs export.h to get EXPORT_SYMBOL, but in doing
so, it uncovers an implicit use of linux/cache.h as follows:

 CC      arch/powerpc/kernel/firmware.o
arch/powerpc/kernel/firmware.c:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__read_mostly'
arch/powerpc/kernel/firmware.c:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__used'
make[2]: *** [arch/powerpc/kernel/firmware.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/powerpc/kernel/firmware.c