Skip to content

Commit

Permalink
drivers/rtc/rtc-mc13xxx.c: fix unterminated platform_device_id table
Browse files Browse the repository at this point in the history
The platform_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Axel Lin authored and Linus Torvalds committed Apr 14, 2011
1 parent 584208e commit c344180
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/rtc/rtc-mc13xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ const struct platform_device_id mc13xxx_rtc_idtable[] = {
}, {
.name = "mc13892-rtc",
},
{ }
};

static struct platform_driver mc13xxx_rtc_driver = {
Expand Down

0 comments on commit c344180

Please sign in to comment.