Browse Source

phy: miphy28lp: Add missing .owner field in miphy28lp_ops

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

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Axel Lin 10 years ago
parent
commit
235b633eb5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/phy/phy-miphy28lp.c

+ 1 - 0
drivers/phy/phy-miphy28lp.c

@@ -1139,6 +1139,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,