]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/powermac: constify device_node in of_irq_parse_oldworld()
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Fri, 24 Sep 2021 10:56:53 +0000 (12:56 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 22 May 2022 05:59:54 +0000 (15:59 +1000)
commitbb12dd42d20f5513a8d1da225232af0a0743fd79
treed15a5544c1250d42b5bbd5e489045926fc817089
parentcc025916b12a452df7932da528d25b2ef2b05072
powerpc/powermac: constify device_node in of_irq_parse_oldworld()

The of_irq_parse_oldworld() does not modify passed device_node so make
it a pointer to const for safety.  Drop the extern while modifying the
line.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210924105653.46963-2-krzysztof.kozlowski@canonical.com
arch/powerpc/platforms/powermac/pic.c
include/linux/of_irq.h