Commit 03d5b19c authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman

powerpc/32s: Make bat_addrs[] static

This table is used only locally. Declare it static.
Signed-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/054fec0c139fc4c0a306360b360784733c0a6e65.1603348103.git.christophe.leroy@csgroup.eu
parent a54d3108
...@@ -40,7 +40,7 @@ static unsigned int hash_mb, hash_mb2; ...@@ -40,7 +40,7 @@ static unsigned int hash_mb, hash_mb2;
struct ppc_bat BATS[8][2]; /* 8 pairs of IBAT, DBAT */ struct ppc_bat BATS[8][2]; /* 8 pairs of IBAT, DBAT */
struct batrange { /* stores address ranges mapped by BATs */ static struct batrange { /* stores address ranges mapped by BATs */
unsigned long start; unsigned long start;
unsigned long limit; unsigned long limit;
phys_addr_t phys; phys_addr_t phys;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment