From c3bc808ddb01c014b8f56fd503e700c77849a2af Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 1 Apr 2020 07:10:32 +0200 Subject: net: phy: Add missing inline to function Add missing inline to static inline no-op wrapper function. Signed-off-by: Sascha Hauer --- include/linux/phy/phy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 8a28b8e068..e2fe42d90e 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -248,7 +248,7 @@ static inline struct usb_phy *phy_to_usbphy(struct phy *phy) return NULL; } -static struct phy *phy_get_by_index(struct device_d *dev, int index) +static inline struct phy *phy_get_by_index(struct device_d *dev, int index) { return ERR_PTR(-ENODEV); } -- cgit v1.2.3