mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-06 14:45:14 +00:00
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>
This commit is contained in:
parent
3bad719b49
commit
30c69ca048
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue