mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
drivers/rtc/rtc-s5m.c: terminate s5m_rtc_id array with empty element
Array of platform_device_id elements should be terminated with empty
element.
Fixes: 5bccae6ec4 ("rtc: s5m-rtc: add real-time clock driver for s5m8767")
Signed-off-by: Andrey Ryabinin <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
07261edb97
commit
45cd15e600
1 changed files with 1 additions and 0 deletions
|
|
@ -832,6 +832,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", S5M8767X },
|
||||
{ "s2mps14-rtc", S2MPS14X },
|
||||
{ },
|
||||
};
|
||||
|
||||
static struct platform_driver s5m_rtc_driver = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue