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

2021-10-04 Thread Rob Herring
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 > > --- > > Changes since v1: > 1.

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

2021-09-24 Thread Krzysztof Kozlowski
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 --- Changes since v1: 1. Drop extern. --- arch/powerpc/platforms/powermac/pic.c | 2 +- include/linux/of_irq.h