rtc: ab8500: Add a sentinel to ab85xx_rtc_ids[]
Subsystems (2)
PATCH 1/1 rtc: ab8500: Add a sentinel to ab85xx_rtc_ids[]
From: Fabio Estevam <[email protected]>
Add a sentinel to ab85xx_rtc_ids[] in order to fix the following error:
drivers/rtc/rtc-ab8500: struct platform_device_id is 24 bytes. The last of 2 is:0x61 0x62 0x38 0x35 0x34 0x30 0x2d 0x72 0x74 0x63 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x8c
FATAL: drivers/rtc/rtc-ab8500: struct platform_device_id is not terminated with a NULL entry!
--- drivers/rtc/rtc-ab8500.c | 1 + 1 file changed, 1 insertion(+)
drivers/rtc/rtc-ab8500.c +1 -0
@@ -445,6 +445,7 @@ static const struct rtc_class_ops ab8540_rtc_ops = {static const struct platform_device_id ab85xx_rtc_ids[] = { {"ab8500-rtc" , (kernel_ulong_t)&ab8500_rtc_ops, }, {"ab8540-rtc" , (kernel_ulong_t)&ab8540_rtc_ops, }, + {/* sentinel */ } };MODULE_DEVICE_TABLE (platform, ab85xx_rtc_ids);
Signature · 12 lines
1.9.1 -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
2015-09-04 3:35 GMT+09:00 Fabio Estevam <[email protected]>:
Quoted 8 lines
From: Fabio Estevam <[email protected]>
Add a sentinel to ab85xx_rtc_ids[] in order to fix the following error:
drivers/rtc/rtc-ab8500: structplatform_device_idis 24 bytes. The last of 2 is:0x610x620x380x350x340x300x2d0x720x740x630x000x000x000x000x000x000x000x000x000x000x000x000x000x8c
FATAL:drivers/rtc/rtc-ab8500: structplatform_device_idis not terminated with a NULL entry!
Quoted 5 lines
Reported-by Olof's autobuilder <[email protected]>Signed-off-by Fabio Estevam <[email protected]>--- drivers/rtc/rtc-ab8500.c | 1 + 1 file changed, 1 insertion(+)
However this was also reported earlier by:
Andrey Ryabinin <[email protected]>
http://www.spinics.net/lists/arm-kernel/msg441707.html
Could you give him the credits as well?
Best regards,
Krzysztof
Signature · 9 lines
-- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
Quoted 10 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Add a sentinel to ab85xx_rtc_ids[] in order to fix the following error:
drivers/rtc/rtc-ab8500: structplatform_device_idis 24 bytes. The last of 2 is:0x610x620x380x350x340x300x2d0x720x740x630x000x000x000x000x000x000x000x000x000x000x000x000x000x8c
FATAL:drivers/rtc/rtc-ab8500: structplatform_device_idis not terminated with a NULL entry!Reported-by Olof's autobuilder <[email protected]>Signed-off-by Fabio Estevam <[email protected]>
Yours,
Linus Walleij
Signature · 9 lines
-- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.