[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200105.142419.337045213193368192.davem@davemloft.net>
Date: Sun, 05 Jan 2020 14:24:19 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: f.fainelli@...il.com
Cc: netdev@...r.kernel.org, paweldembicki@...il.com,
linus.walleij@...aro.org, andrew@...n.ch, vivien.didelot@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: dsa: vsc73xx: Remove dependency on
CONFIG_OF
From: Florian Fainelli <f.fainelli@...il.com>
Date: Thu, 2 Jan 2020 15:34:45 -0800
> There is no build time dependency on CONFIG_OF, but we do need to make
> sure we gate the initialization of the gpio_chip::of_node member with a
> proper check on CONFIG_OF_GPIO. This enables the driver to build on
> platforms that do not have CONFIG_OF enabled.
>
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
Applied, thanks.
Maybe if this becomes common enough we can have a helper like the
ones we have for network namespaces, something like of_node_set().
Powered by blists - more mailing lists