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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue