Skip to contentSkip to conversation

phy: miphy28lp: Add missing .owner field in miphy28lp_ops

PATCH New Axel Lin 1 participant 1 message Feb 25, 2015 Generic PHY framework

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 phy: miphy28lp: Add missing .owner field in miphy28lp_ops

Add missing .owner field in miphy28lp_ops, which is used for refcounting.

---
 drivers/phy/phy-miphy28lp.c | 1 +
 1 file changed, 1 insertion(+)
drivers/phy/phy-miphy28lp.c +1 -0
index 9b2848e..44e2861 100644
@@ -1138,6 +1138,7 @@ static struct phy *miphy28lp_xlate(struct device *dev,
 
 static struct phy_ops miphy28lp_ops = {
 	.init = miphy28lp_init,
+	.owner = THIS_MODULE,
 };
 
 static int miphy28lp_probe_resets(struct device_node *node,
Signature · 1 line
1.9.1