commit | aa1d54c65d11ab32e72f8122709e9dff4049ce93 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Jan 02 15:34:45 2020 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 05 14:23:48 2020 -0800 |
tree | d43e6ae364a675825b8abf8800e9224bf09c932e | |
parent | 704a0afb4963a486f604fba1064f9025e2865fc9 [diff] |
net: dsa: vsc73xx: Remove dependency on CONFIG_OF 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> Signed-off-by: David S. Miller <davem@davemloft.net>