projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eab887
)
cpufreq: dt: Add terminate entry for of_device_id tables
author
Wei Yongjun
<
[email protected]
>
Sun, 21 Aug 2016 15:41:44 +0000
(15:41 +0000)
committer
Rafael J. Wysocki
<
[email protected]
>
Wed, 31 Aug 2016 00:49:05 +0000
(
02:49
+0200)
Make sure of_device_id tables are NULL terminated.
Signed-off-by: Wei Yongjun <
[email protected]
>
Acked-by: Viresh Kumar <
[email protected]
>
Fixes: f56aad1d98f1 (cpufreq: dt: Add generic platform-device creation support)
CC: 4.7+ <
[email protected]
> # 4.7+
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
drivers/cpufreq/cpufreq-dt-platdev.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/cpufreq-dt-platdev.c
b/drivers/cpufreq/cpufreq-dt-platdev.c
index 0bb44d5b5df49d385b5bcfd43297b750417461a7..2ee40fd360caaa1ffd3a60700b1bc31a3a533322 100644
(file)
--- a/
drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/
drivers/cpufreq/cpufreq-dt-platdev.c
@@
-74,6
+74,8
@@
static const struct of_device_id machines[] __initconst = {
{ .compatible = "ti,omap5", },
{ .compatible = "xlnx,zynq-7000", },
+
+ { }
};
static int __init cpufreq_dt_platdev_init(void)