From: Axel Lin Date: Mon, 21 May 2012 15:33:22 +0000 (+0800) Subject: mfd: Add terminating entry for i2c_device_id palmas table X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ae85f12c66dd9982486976fce08ab9475d1c5c4e;p=openwrt%2Fstaging%2Fblogic.git mfd: Add terminating entry for i2c_device_id palmas table The i2c_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c index 00c0aba7eba0..5d896b352284 100644 --- a/drivers/mfd/palmas.c +++ b/drivers/mfd/palmas.c @@ -472,6 +472,7 @@ static const struct i2c_device_id palmas_i2c_id[] = { { "twl6035", }, { "twl6037", }, { "tps65913", }, + { /* end */ } }; MODULE_DEVICE_TABLE(i2c, palmas_i2c_id);