summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-is31fl32xx.c
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2016-07-18 19:03:31 +0200
committerJacek Anaszewski <j.anaszewski@samsung.com>2016-07-19 13:58:42 +0200
commit5706c01fcfb313cef7aed6a283b43c5452cf8336 (patch)
treed6a4239a8e2c6276cdba4be8a59dee7993731a1e /drivers/leds/leds-is31fl32xx.c
parent1d991b71b4fbbeab319154e9aa2f1e9c94976311 (diff)
downloadblackbird-obmc-linux-5706c01fcfb313cef7aed6a283b43c5452cf8336.tar.gz
blackbird-obmc-linux-5706c01fcfb313cef7aed6a283b43c5452cf8336.zip
leds: is31fl32xx: define complete i2c_device_id table
Otherwise the driver module will not be automatically probed. Fixes: 9d7cffaf99f5 ("leds: Add driver for the ISSI IS31FL32xx family of LED controllers") Fixes: e0442d7def8f ("leds: Add SN3218 and SN3216 support to the IS31FL32XX driver") Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Tested-by: David Rivshin <drivshin@allworx.com> Acked-by: David Rivshin <drivshin@allworx.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/leds/leds-is31fl32xx.c')
-rw-r--r--drivers/leds/leds-is31fl32xx.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/leds/leds-is31fl32xx.c b/drivers/leds/leds-is31fl32xx.c
index a53b71e7a50d..478844c5cead 100644
--- a/drivers/leds/leds-is31fl32xx.c
+++ b/drivers/leds/leds-is31fl32xx.c
@@ -482,10 +482,16 @@ static int is31fl32xx_remove(struct i2c_client *client)
}
/*
- * i2c-core requires that id_table be non-NULL, even though
- * it is not used for DeviceTree based instantiation.
+ * i2c-core (and modalias) requires that id_table be properly filled,
+ * even though it is not used for DeviceTree based instantiation.
*/
static const struct i2c_device_id is31fl32xx_id[] = {
+ { "is31fl3236" },
+ { "is31fl3235" },
+ { "is31fl3218" },
+ { "sn3218" },
+ { "is31fl3216" },
+ { "sn3216" },
{},
};
OpenPOWER on IntegriCloud