powerpc/mpic: constify copied structure
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 1 Jan 2020 07:43:27 +0000 (08:43 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Jan 2020 10:42:16 +0000 (21:42 +1100)
commit5084ff33cac0988c1b979814501dcc2e1ecbf9c0
tree1ac9e67bf7228d9df2a6bfed9b62d483bad279c2
parent3a9d970f17e05a7b26f782beb8f7f2118d1741ea
powerpc/mpic: constify copied structure

The mpic_ipi_chip and mpic_irq_ht_chip structures are only copied
into other structures, so make them const.

The opportunity for this change was found using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1577864614-5543-10-git-send-email-Julia.Lawall@inria.fr
arch/powerpc/sysdev/mpic.c