projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df58c04
)
lp8727_charger: Add MODULE_DEVICE_TABLE
author
Axel Lin
<axel.lin@gmail.com>
Thu, 12 Jan 2012 12:45:02 +0000
(20:45 +0800)
committer
Anton Vorontsov
<anton.vorontsov@linaro.org>
Mon, 26 Mar 2012 16:41:21 +0000
(20:41 +0400)
Add MODULE_DEVICE_TABLE to setup modalias for lp8727. Allows auto
modprobing.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/lp8727_charger.c
patch
|
blob
|
history
diff --git
a/drivers/power/lp8727_charger.c
b/drivers/power/lp8727_charger.c
index 815dba37e3eb1590bd29c21cca956c4a565cee49..ab0f431876e14633b7f7b67dfcf9965be5d276fd 100644
(file)
--- 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 = {