summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-18 04:42:44 (GMT)
committerFelipe Balbi <balbi@ti.com>2014-06-30 17:14:41 (GMT)
commit492240b0a7d41db69d463a77306451e91b8f80a1 (patch)
treee32c93b7b7d70334758999a689f9d6871f2d8af2 /drivers/usb
parentd7dc5bde6d7f26a19e9792b7952fd61f875373fe (diff)
downloadlinux-492240b0a7d41db69d463a77306451e91b8f80a1.tar.xz
usb: phy: msm: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/phy/phy-msm-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c
index ced34f3..625c144 100644
--- a/drivers/usb/phy/phy-msm-usb.c
+++ b/drivers/usb/phy/phy-msm-usb.c
@@ -1427,7 +1427,7 @@ static void msm_otg_debugfs_cleanup(void)
debugfs_remove(msm_otg_dbg_root);
}
-static struct of_device_id msm_otg_dt_match[] = {
+static const struct of_device_id msm_otg_dt_match[] = {
{
.compatible = "qcom,usb-otg-ci",
.data = (void *) CI_45NM_INTEGRATED_PHY