diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-09-01 04:32:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-01 15:33:57 -0700 |
commit | ceb96fae397a2fafd631d97edb387707481e7c6b (patch) | |
tree | 8bc26a1afb150792fd90cf76f763f34dec0fa1f2 /net/unix/af_unix.c | |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions