powerpc: mpc8xx: make get_immr() independent of CONFIG_8xx
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 16 Mar 2018 16:20:37 +0000 (17:20 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 Apr 2018 20:30:37 +0000 (16:30 -0400)
commit14119901fd4a2577f93413a665cc79705f7675fd
tree7777c44bf6c3e02639756aef3ccfecda2de2c314
parentfdef3895a03eb45245215eb319fbbbf519d3759c
powerpc: mpc8xx: make get_immr() independent of CONFIG_8xx

SPRN_IMMR is defined regardless of the CPU. Therefore, there
is no point in enclosing get_immr() inside a #ifdef CONFIG_8xx

As it a static inline function, it will in any case only be
compiled in functons using it.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
arch/powerpc/include/asm/ppc.h