diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-05-31 06:33:40 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-14 09:04:09 +0200 |
commit | 30c69ca0486fd73f2e5d40096ee68bfaed469b76 (patch) | |
tree | 4c5a076ae148b8fd5f3f3e6094395b75debcef5a | |
parent | powerpc/prom_init: Make of_workarounds static (diff) | |
download | linux-30c69ca0486fd73f2e5d40096ee68bfaed469b76.tar.xz linux-30c69ca0486fd73f2e5d40096ee68bfaed469b76.zip |
powerpc/prom_init: Make "fake_elf" const
It is never modified
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index f5b682094bde..0096a53d03da 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c @@ -922,7 +922,7 @@ struct ibm_arch_vec __cacheline_aligned ibm_architecture_vec = { /* Old method - ELF header with PT_NOTE sections only works on BE */ #ifdef __BIG_ENDIAN__ -static struct fake_elf { +static const struct fake_elf { Elf32_Ehdr elfhdr; Elf32_Phdr phdr[2]; struct chrpnote { |