projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8968614
)
USB: ehci-msm: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 18 Jun 2014 04:33:17 +0000
(13:33 +0900)
committer
Greg 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/ehci-msm.c
b/drivers/usb/host/ehci-msm.c
index 982c09bebe0f4137e41bc35a11c479f1e3e2560b..934b39d5e44a1c52ccfa015530153979f1bc362c 100644
(file)
--- a/
drivers/usb/host/ehci-msm.c
+++ b/
drivers/usb/host/ehci-msm.c
@@
-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", },
{}
};