[3.13.y-ckt stable] Patch "drivers/rtc/rtc-s5m.c: terminate s5m_rtc_id array with empty element" has been added to staging queue

Kamal Mostafa kamal at canonical.com
Thu Mar 19 20:21:35 UTC 2015

This is a note to let you know that I have just added a patch titled

    drivers/rtc/rtc-s5m.c: terminate s5m_rtc_id array with empty element

to the linux-3.13.y-queue branch of the 3.13.y-ckt extended stable tree 
which can be found at:


This patch is scheduled to be released in version 3.13.11-ckt17.

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.13.y-ckt tree, see



>From 25f9278474d9e0a6aa3eec29d35a21406d5f7f73 Mon Sep 17 00:00:00 2001
From: Andrey Ryabinin <a.ryabinin at samsung.com>
Date: Mon, 26 Jan 2015 12:58:46 -0800
Subject: drivers/rtc/rtc-s5m.c: terminate s5m_rtc_id array with empty element

commit 45cd15e600ec8006305ce83f62c7208c2cb7a052 upstream.

Array of platform_device_id elements should be terminated with empty

Fixes: 5bccae6ec458 ("rtc: s5m-rtc: add real-time clock driver for s5m8767")
Signed-off-by: Andrey Ryabinin <a.ryabinin at samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
 drivers/rtc/rtc-s5m.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c
index ae8119d..a2413f7 100644
--- a/drivers/rtc/rtc-s5m.c
+++ b/drivers/rtc/rtc-s5m.c
@@ -665,6 +665,7 @@ static SIMPLE_DEV_PM_OPS(s5m_rtc_pm_ops, s5m_rtc_suspend, s5m_rtc_resume);

 static const struct platform_device_id s5m_rtc_id[] = {
 	{ "s5m-rtc", 0 },
+	{ },

 static struct platform_driver s5m_rtc_driver = {

More information about the kernel-team mailing list