summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-mc13xxx.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-04-14 15:21:55 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-04-14 16:06:54 -0700
commitc344180c9e77145a9e7eab0050169c68afae04b2 (patch)
tree496b810ee3766bd7f32a507f30144e4d0dea87ab /drivers/rtc/rtc-mc13xxx.c
parent584208e6b4103d2cfb08a7889c9fa3540826e0d5 (diff)
downloadlinux-c344180c9e77145a9e7eab0050169c68afae04b2.tar.gz
linux-c344180c9e77145a9e7eab0050169c68afae04b2.tar.bz2
linux-c344180c9e77145a9e7eab0050169c68afae04b2.zip
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>
Diffstat (limited to 'drivers/rtc/rtc-mc13xxx.c')
-rw-r--r--drivers/rtc/rtc-mc13xxx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c
index c42006469559..c5ac03793e79 100644
--- 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 = {