mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
powerpc/32s: Make bat_addrs[] static
This table is used only locally. Declare it static. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/054fec0c139fc4c0a306360b360784733c0a6e65.1603348103.git.christophe.leroy@csgroup.eu
This commit is contained in:
parent
a54d310856
commit
03d5b19c72
|
|
@ -40,7 +40,7 @@ static unsigned int hash_mb, hash_mb2;
|
|||
|
||||
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 limit;
|
||||
phys_addr_t phys;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user