Messages in this thread |  | | Date | Sun, 05 Jan 2020 14:24:19 -0800 (PST) | Subject | Re: [PATCH net-next] net: dsa: vsc73xx: Remove dependency on CONFIG_OF | From | David Miller <> |
| |
From: Florian Fainelli <f.fainelli@gmail.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@gmail.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().
|  |