OSDN Git Service

phy: miphy28lp: Add missing .owner field in miphy28lp_ops
authorAxel Lin <axel.lin@ingics.com>
Wed, 25 Feb 2015 14:12:53 +0000 (22:12 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 4 Mar 2015 13:01:47 +0000 (18:31 +0530)
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>
drivers/phy/phy-miphy28lp.c

index d444932..4fe1755 100644 (file)
@@ -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,