Commit a8f759e1 authored by Atul Gopinathan's avatar Atul Gopinathan Committed by Greg Kroah-Hartman

staging: hikey9xx: make phy_ops struct const

Fix the following type of checkpatch warning:
"WARNING: struct phy_ops should normally be const"
Signed-off-by: default avatarAtul Gopinathan <leoatul12@gmail.com>
Link: https://lore.kernel.org/r/20210209081935.3084-2-leoatul12@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 643fd47a
...@@ -585,7 +585,7 @@ static int hi3670_phy_exit(struct phy *phy) ...@@ -585,7 +585,7 @@ static int hi3670_phy_exit(struct phy *phy)
return ret; return ret;
} }
static struct phy_ops hi3670_phy_ops = { static const struct phy_ops hi3670_phy_ops = {
.init = hi3670_phy_init, .init = hi3670_phy_init,
.exit = hi3670_phy_exit, .exit = hi3670_phy_exit,
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment