rtc: ab8500: Add a sentinel to ab85xx_rtc_ids[]
Subsystems (2)
PATCH v2 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!
---
Changes since v1:
- Add also a Reported-by tag from Andrey Ryabinin and also Reviewed-by from Krzysztof Kozlowski.
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.
Alexandre Belloni
AppliedQuoted 12 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 Andrey Ryabinin <[email protected]>Reported-by Olof's autobuilder <[email protected]>Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
Quoted 8 lines
---
Changes since v1:
- Add also a Reported-by tag from Andrey Ryabinin and also Reviewed-by from Krzysztof Kozlowski.drivers/rtc/rtc-ab8500.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks.
Signature · 14 lines
Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- -- 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.