powerpc/85xx: Remove #ifdefs CONFIG_PPC_I8259 in mpc85xx_ds
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 8 Apr 2023 14:01:14 +0000 (16:01 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Apr 2023 00:20:51 +0000 (10:20 +1000)
commitf435f67024cbee223083aa843f9b69888c8de8a8
treeac287f8c52a3820f97e6c061738b3c485725d640
parent15c6ba7992993fecdac52a424ce35b6e4a272c75
powerpc/85xx: Remove #ifdefs CONFIG_PPC_I8259 in mpc85xx_ds

All necessary items are declared all the time, no need to use
a #ifdef CONFIG_PPC_I8259.

Refactor CONFIG_PPC_I8259 actions into a dedicated init function.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230408140122.25293-6-pali@kernel.org
arch/powerpc/platforms/85xx/mpc85xx_ds.c