Commit c344180c authored by Axel Lin's avatar Axel Lin Committed by Linus Torvalds

drivers/rtc/rtc-mc13xxx.c: fix unterminated platform_device_id table

The platform_device_id table is supposed to be zero-terminated.
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 584208e6
...@@ -401,6 +401,7 @@ const struct platform_device_id mc13xxx_rtc_idtable[] = { ...@@ -401,6 +401,7 @@ const struct platform_device_id mc13xxx_rtc_idtable[] = {
}, { }, {
.name = "mc13892-rtc", .name = "mc13892-rtc",
}, },
{ }
}; };
static struct platform_driver mc13xxx_rtc_driver = { static struct platform_driver mc13xxx_rtc_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment