aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorAtul Gopinathan <leoatul12@gmail.com>2021-02-09 13:49:36 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-09 09:28:19 +0100
commita8f759e12b42b5e973dc86757798a4246d254a27 (patch)
treeac0c7c5815e3999eed416b0f222a738c26fb4359 /drivers/staging
parent643fd47afc3d4d414d05044f514c89297d40b0df (diff)
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/hikey9xx/phy-hi3670-usb3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hikey9xx/phy-hi3670-usb3.c b/drivers/staging/hikey9xx/phy-hi3670-usb3.c
index 8918f3665f8e..e7e579ce0302 100644
--- a/drivers/staging/hikey9xx/phy-hi3670-usb3.c
+++ b/drivers/staging/hikey9xx/phy-hi3670-usb3.c
@@ -585,7 +585,7 @@ out:
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,