USB: ehci-msm: Make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 18 Jun 2014 04:33:17 +0000 (13:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 23:13:03 +0000 (16:13 -0700)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-msm.c

index 982c09bebe0f4137e41bc35a11c479f1e3e2560b..934b39d5e44a1c52ccfa015530153979f1bc362c 100644 (file)
@@ -190,7 +190,7 @@ static const struct dev_pm_ops ehci_msm_dev_pm_ops = {
        .resume          = ehci_msm_pm_resume,
 };
 
-static struct of_device_id msm_ehci_dt_match[] = {
+static const struct of_device_id msm_ehci_dt_match[] = {
        { .compatible = "qcom,ehci-host", },
        {}
 };
This page took 0.025086 seconds and 5 git commands to generate.