commit | ceb96fae397a2fafd631d97edb387707481e7c6b | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Tue Sep 01 04:32:57 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 01 15:33:57 2020 -0700 |
tree | 8bc26a1afb150792fd90cf76f763f34dec0fa1f2 | |
parent | 0697fecf7ecd8abf70d0f46e6a352818e984cc9f [diff] |
net: dsa: mv88e6xxx: Fix W=1 warning with !CONFIG_OF When building on platforms without device tree, e.g. amd64, W=1 gives a warning about mv88e6xxx_mdio_external_match being unused. Replace of_match_node() with of_device_is_compatible() to prevent this warning. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>