mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 20:48:49 +08:00
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: 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>
This commit is contained in:
parent
584208e6b4
commit
c344180c9e
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user