The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 1/2] rtc: rtc-mc13xxx: fix unterminated platform_device_id table
@ 2011-02-23  9:27 Axel Lin
  2011-02-23  9:28 ` [PATCH 2/2] net/fec: " Axel Lin
  2011-02-23  9:57 ` [PATCH 1/2] rtc: rtc-mc13xxx: " Uwe Kleine-König
  0 siblings, 2 replies; 4+ messages in thread
From: Axel Lin @ 2011-02-23  9:27 UTC (permalink / raw)
  To: linux-kernel
  Cc: Sascha Hauer, Uwe Kleine-König, Alessandro Zummo,
	Thomas Gleixner, rtc-linux

The platform_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/rtc/rtc-mc13xxx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c
index 5314b15..6e6de98 100644
--- a/drivers/rtc/rtc-mc13xxx.c
+++ b/drivers/rtc/rtc-mc13xxx.c
@@ -408,6 +408,7 @@ const struct platform_device_id mc13xxx_rtc_idtable[] = {
 	}, {
 		.name = "mc13892-rtc",
 	},
+	{ }
 };
 
 static struct platform_driver mc13xxx_rtc_driver = {
-- 
1.7.2




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-28 20:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-23  9:27 [PATCH 1/2] rtc: rtc-mc13xxx: fix unterminated platform_device_id table Axel Lin
2011-02-23  9:28 ` [PATCH 2/2] net/fec: " Axel Lin
2011-02-28 20:36   ` David Miller
2011-02-23  9:57 ` [PATCH 1/2] rtc: rtc-mc13xxx: " Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox