summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-mc13xxx.c
diff options
context:
space:
mode:
authorAxel Lin2011-04-15 00:21:55 +0200
committerLinus Torvalds2011-04-15 01:06:54 +0200
commitc344180c9e77145a9e7eab0050169c68afae04b2 (patch)
tree496b810ee3766bd7f32a507f30144e4d0dea87ab /drivers/rtc/rtc-mc13xxx.c
parentmm: optimize pfn calculation in online_page() (diff)
downloadkernel-qcow2-linux-c344180c9e77145a9e7eab0050169c68afae04b2.tar.gz
kernel-qcow2-linux-c344180c9e77145a9e7eab0050169c68afae04b2.tar.xz
kernel-qcow2-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 = {