diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-02-25 15:12:53 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-03-04 14:01:47 +0100 |
commit | 235b633eb513f8471b9f23635345ede6e49371ab (patch) | |
tree | aa0dddb15d646f55989bd0253cfe77bc55ca74bb /drivers/phy/phy-miphy28lp.c | |
parent | phy: xgene: Remove duplicate code to set ctx->dev (diff) | |
download | linux-235b633eb513f8471b9f23635345ede6e49371ab.tar.xz linux-235b633eb513f8471b9f23635345ede6e49371ab.zip |
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>
Diffstat (limited to 'drivers/phy/phy-miphy28lp.c')
-rw-r--r-- | drivers/phy/phy-miphy28lp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/phy-miphy28lp.c b/drivers/phy/phy-miphy28lp.c index d44493230d0c..4fe1755e3aa8 100644 --- a/drivers/phy/phy-miphy28lp.c +++ b/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, |