aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-18 13:42:44 +0900
committerFelipe Balbi <balbi@ti.com>2014-06-30 12:14:41 -0500
commit492240b0a7d41db69d463a77306451e91b8f80a1 (patch)
treee32c93b7b7d70334758999a689f9d6871f2d8af2 /drivers/usb/phy
parentusb: musb: ux500: use devm_ functions (diff)
downloadlinux-dev-492240b0a7d41db69d463a77306451e91b8f80a1.tar.xz
linux-dev-492240b0a7d41db69d463a77306451e91b8f80a1.zip
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)
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