Skip to content

Commit

Permalink
mfd: terminate pcf50633 i2c_device_id list
Browse files Browse the repository at this point in the history
The i2c_device_id list is supposed to be zero-terminated.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Balaji Rao <balajirrao@openmoko.org>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
Jean Delvare authored and Samuel Ortiz committed Feb 17, 2009
1 parent 2f161f4 commit 8915e54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/pcf50633-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,7 @@ static int __devexit pcf50633_remove(struct i2c_client *client)

static struct i2c_device_id pcf50633_id_table[] = {
{"pcf50633", 0x73},
{/* end of list */}
};

static struct i2c_driver pcf50633_driver = {
Expand Down

0 comments on commit 8915e54

Please sign in to comment.