[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191226.151738.464389649649468443.davem@davemloft.net>
Date: Thu, 26 Dec 2019 15:17:38 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: geert@...ux-m68k.org
Cc: antoine.tenart@...tlin.com, andrew@...n.ch, f.fainelli@...il.com,
hkallweit1@...il.com, robh+dt@...nel.org, frowand.list@...il.com,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] of: mdio: Add missing inline to
of_mdiobus_child_is_phy() dummy
From: Geert Uytterhoeven <geert@...ux-m68k.org>
Date: Mon, 23 Dec 2019 11:03:21 +0100
> 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 <geert@...ux-m68k.org>
Applied, thank you.
Powered by blists - more mailing lists