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:
dee21a6
)
drivers/rtc/rtc-pxa.c: make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Fri, 6 Jun 2014 21:36:14 +0000
(14:36 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:09 +0000
(16:08 -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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pxa.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-pxa.c
b/drivers/rtc/rtc-pxa.c
index cccbf9d89729a51b517aa9948541127627a51885..4561f375327dbefd5f532a961dfa478934e856e6 100644
(file)
--- a/
drivers/rtc/rtc-pxa.c
+++ b/
drivers/rtc/rtc-pxa.c
@@
-389,7
+389,7
@@
static int __exit pxa_rtc_remove(struct platform_device *pdev)
}
#ifdef CONFIG_OF
-static struct of_device_id pxa_rtc_dt_ids[] = {
+static
const
struct of_device_id pxa_rtc_dt_ids[] = {
{ .compatible = "marvell,pxa-rtc" },
{}
};