From: Axel Lin Date: Thu, 12 Jan 2012 12:45:02 +0000 (+0800) Subject: lp8727_charger: Add MODULE_DEVICE_TABLE X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e2c5f7db789a5be8ba131e9fe3e87b66bc606e3b;p=linux-beck.git lp8727_charger: Add MODULE_DEVICE_TABLE Add MODULE_DEVICE_TABLE to setup modalias for lp8727. Allows auto modprobing. Signed-off-by: Axel Lin Signed-off-by: Anton Vorontsov --- diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c index 815dba37e3eb..ab0f431876e1 100644 --- a/drivers/power/lp8727_charger.c +++ b/drivers/power/lp8727_charger.c @@ -480,6 +480,7 @@ static const struct i2c_device_id lp8727_ids[] = { {"lp8727", 0}, { } }; +MODULE_DEVICE_TABLE(i2c, lp8727_ids); static struct i2c_driver lp8727_driver = { .driver = {