diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-22 19:07:20 (GMT) |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 23:30:41 (GMT) |
commit | cab2e05271f11cc3322be5bc50168d9b8a3fc587 (patch) | |
tree | 4f50050a0550ac2a8a78da5abd0ee6d235701bfa | |
parent | 2a7156b9e8829e285a0ca02d05fb0f1945d131ce (diff) | |
download | linux-fsl-qoriq-cab2e05271f11cc3322be5bc50168d9b8a3fc587.tar.xz |
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>
-rw-r--r-- | arch/powerpc/kernel/firmware.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/firmware.c b/arch/powerpc/kernel/firmware.c index 6b1f427..2eae447 100644 --- a/arch/powerpc/kernel/firmware.c +++ b/arch/powerpc/kernel/firmware.c @@ -13,7 +13,8 @@ * 2 of the License, or (at your option) any later version. */ -#include <linux/module.h> +#include <linux/export.h> +#include <linux/cache.h> #include <asm/firmware.h> |