projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
584208e
)
drivers/rtc/rtc-mc13xxx.c: fix unterminated platform_device_id table
author
Axel Lin
<axel.lin@gmail.com>
Thu, 14 Apr 2011 22:21:55 +0000
(15:21 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 14 Apr 2011 23:06:54 +0000
(16:06 -0700)
The platform_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-mc13xxx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rtc/rtc-mc13xxx.c
b/drivers/rtc/rtc-mc13xxx.c
index c420064695598edbe9cdc42c5767d35cc21d2811..c5ac03793e7910fec863f70130496cd3a3d60e9c 100644
(file)
--- a/
drivers/rtc/rtc-mc13xxx.c
+++ b/
drivers/rtc/rtc-mc13xxx.c
@@
-401,6
+401,7
@@
const struct platform_device_id mc13xxx_rtc_idtable[] = {
}, {
.name = "mc13892-rtc",
},
+ { }
};
static struct platform_driver mc13xxx_rtc_driver = {