[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_JsqKMUX4ZGZutPSs1RsnXXDjz_GVfkPHbbXCdQfogMXym-w@mail.gmail.com>
Date: Sat, 19 Jan 2019 10:30:49 -0600
From: Rob Herring <robh@...nel.org>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] powerpc: chrp: Use device_type helpers to access the
node type
On Sat, Jan 19, 2019 at 10:18 AM Guenter Roeck <linux@...ck-us.net> wrote:
>
> The node type can no longer be accessed directly, resulting in the
> following build error. Use accessor function instead.
>
> arch/powerpc/platforms/chrp/setup.c: In function ‘chrp_init_IRQ’:
> arch/powerpc/platforms/chrp/setup.c:541:33: error:
> ‘struct device_node’ has no member named ‘type’
>
> Fixes: 8ce5f8415753 ("of: Remove struct device_node.type pointer")
> Cc: Rob Herring <robh@...nel.org>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
> ---
> v2: of_node_is_type() checks if the node pointer is NULL, so there is
> no need to check it before calling the function.
>
> arch/powerpc/platforms/chrp/setup.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Already have the same patch acked by Michael and am sending to Linus shortly.
Rob
Powered by blists - more mailing lists