summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-04-01 07:10:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-04-01 07:10:44 +0200
commitc3bc808ddb01c014b8f56fd503e700c77849a2af (patch)
treef1a651f6ddcee14b77839a1b616151122e5a88af /include/linux
parent00b5795e1a1fe268b24f550d87f6e015540700be (diff)
downloadbarebox-master.tar.gz
net: phy: Add missing inline to functionHEADmaster
Add missing inline to static inline no-op wrapper function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/phy/phy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index 8a28b8e..e2fe42d 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);
}