aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-18 00:42:44 -0400
committerFelipe Balbi <balbi@ti.com>2014-06-30 13:14:41 -0400
commit492240b0a7d41db69d463a77306451e91b8f80a1 (patch)
treee32c93b7b7d70334758999a689f9d6871f2d8af2 /drivers/usb/phy
parentd7dc5bde6d7f26a19e9792b7952fd61f875373fe (diff)
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/phy')
-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 ced34f39bdd4..625c14494c9a 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)
1427 debugfs_remove(msm_otg_dbg_root); 1427 debugfs_remove(msm_otg_dbg_root);
1428} 1428}
1429 1429
1430static struct of_device_id msm_otg_dt_match[] = { 1430static const struct of_device_id msm_otg_dt_match[] = {
1431 { 1431 {
1432 .compatible = "qcom,usb-otg-ci", 1432 .compatible = "qcom,usb-otg-ci",
1433 .data = (void *) CI_45NM_INTEGRATED_PHY 1433 .data = (void *) CI_45NM_INTEGRATED_PHY