diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-09 09:11:46 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-09 09:13:43 -0400 |
commit | 31b3ffbdfb4e4d2d2416c30fe02da3e58e37d798 (patch) | |
tree | b200df3189bd59494e588686033a1c03550af749 /drivers/mfd | |
parent | a232d56e48024c41c87ba884cc0a0fc98e37f5c6 (diff) |
mfd: 88pm80[05] i2c device_id arrays should be NULL terminated
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/88pm800.c | 1 | ||||
-rw-r--r-- | drivers/mfd/88pm805.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c index fe479ccfaa19..ec7d9b8c7844 100644 --- a/drivers/mfd/88pm800.c +++ b/drivers/mfd/88pm800.c | |||
@@ -127,6 +127,7 @@ enum { | |||
127 | 127 | ||
128 | static const struct i2c_device_id pm80x_id_table[] = { | 128 | static const struct i2c_device_id pm80x_id_table[] = { |
129 | {"88PM800", CHIP_PM800}, | 129 | {"88PM800", CHIP_PM800}, |
130 | {} /* NULL terminated */ | ||
130 | }; | 131 | }; |
131 | MODULE_DEVICE_TABLE(i2c, pm80x_id_table); | 132 | MODULE_DEVICE_TABLE(i2c, pm80x_id_table); |
132 | 133 | ||
diff --git a/drivers/mfd/88pm805.c b/drivers/mfd/88pm805.c index d93c3091cb9f..d59ca6bae096 100644 --- a/drivers/mfd/88pm805.c +++ b/drivers/mfd/88pm805.c | |||
@@ -33,6 +33,7 @@ | |||
33 | 33 | ||
34 | static const struct i2c_device_id pm80x_id_table[] = { | 34 | static const struct i2c_device_id pm80x_id_table[] = { |
35 | {"88PM805", CHIP_PM805}, | 35 | {"88PM805", CHIP_PM805}, |
36 | {} /* NULL terminated */ | ||
36 | }; | 37 | }; |
37 | MODULE_DEVICE_TABLE(i2c, pm80x_id_table); | 38 | MODULE_DEVICE_TABLE(i2c, pm80x_id_table); |
38 | 39 | ||