Re: [PATCH v3 2/2] powerpc/powermac: constify device_node in of_irq_parse_oldworld()

From: Rob Herring
Date: Mon Oct 04 2021 - 13:00:19 EST


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@xxxxxxxxxxxxx>
>
> ---
>
> 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@xxxxxxxxxx>