diff options
author | Geert Uytterhoeven <[email protected]> | 2019-12-23 11:03:21 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-12-26 15:17:26 -0800 |
commit | 7df2281a174bd0fdbb2211a26914e5440740fcde (patch) | |
tree | c33f7ab80b8bed06e47825ab718032989020491d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1c93fb45761e79b3c00080e71523886cefaf351c (diff) |
of: mdio: Add missing inline to of_mdiobus_child_is_phy() dummy
If CONFIG_OF_MDIO=n:
drivers/net/phy/mdio_bus.c:23:
include/linux/of_mdio.h:58:13: warning: ‘of_mdiobus_child_is_phy’ defined but not used [-Wunused-function]
static bool of_mdiobus_child_is_phy(struct device_node *child)
^~~~~~~~~~~~~~~~~~~~~~~
Fix this by adding the missing "inline" keyword.
Fixes: 0aa4d016c043d16a ("of: mdio: export of_mdiobus_child_is_phy")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions