usb: phy: msm: Make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 18 Jun 2014 04:42:44 +0000 (13:42 +0900)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 17:14:41 +0000 (12:14 -0500)
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>
drivers/usb/phy/phy-msm-usb.c

index ced34f39bdd47f29ddf308ad7d89f59af3e5b3ce..625c14494c9a2b3fb8b465a465fc6c11ffc5b9d2 100644 (file)
@@ -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