mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
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: Atul Gopinathan <leoatul12@gmail.com> Link: https://lore.kernel.org/r/20210209081935.3084-2-leoatul12@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
643fd47afc
commit
a8f759e12b
|
|
@ -585,7 +585,7 @@ static int hi3670_phy_exit(struct phy *phy)
|
|||
return ret;
|
||||
}
|
||||
|
||||
static struct phy_ops hi3670_phy_ops = {
|
||||
static const struct phy_ops hi3670_phy_ops = {
|
||||
.init = hi3670_phy_init,
|
||||
.exit = hi3670_phy_exit,
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user