Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2c5f7db authored by Axel Lin's avatar Axel Lin Committed by Anton Vorontsov
Browse files

lp8727_charger: Add MODULE_DEVICE_TABLE



Add MODULE_DEVICE_TABLE to setup modalias for lp8727. Allows auto
modprobing.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
parent df58c04c
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -480,6 +480,7 @@ static const struct i2c_device_id lp8727_ids[] = {
	{"lp8727", 0},
	{"lp8727", 0},
	{ }
	{ }
};
};
MODULE_DEVICE_TABLE(i2c, lp8727_ids);


static struct i2c_driver lp8727_driver = {
static struct i2c_driver lp8727_driver = {
	.driver = {
	.driver = {