[PATCH v3 2/2] powerpc/powermac: constify device_node in of_irq_parse_oldworld()
Rob Herring
robh at kernel.org
Tue Oct 5 04:00:15 AEDT 2021
On Fri, 24 Sep 2021 12:56:53 +0200, Krzysztof Kozlowski wrote:
> 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 at canonical.com>
>
> ---
>
> Changes since v1:
> 1. Drop extern.
> ---
> arch/powerpc/platforms/powermac/pic.c | 2 +-
> include/linux/of_irq.h | 6 +++---
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
Acked-by: Rob Herring <robh at kernel.org>
More information about the Linuxppc-dev
mailing list