diff options
author | 2016-10-14 09:23:34 -0300 | |
---|---|---|
committer | 2016-11-22 12:07:03 +0100 | |
commit | aa73684cdeb3a8a9f38e6a240b177c1fe04178b5 (patch) | |
tree | 1f277d9d33d7174fc0e440c82abf619c2d8f1798 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | leds: mc13783: Fix MC13892 keypad led access (diff) | |
download | wireguard-linux-aa73684cdeb3a8a9f38e6a240b177c1fe04178b5.tar.xz wireguard-linux-aa73684cdeb3a8a9f38e6a240b177c1fe04178b5.zip |
leds: lp3952: Export I2C module alias information for module autoload
If the driver is built as a module, I2C module alias information is not
filled so the module won't be autoloaded if the device isn't registered
over ACPI. Export the I2C device table alias with MODULE_DEVICE_TABLE()
macro so the information is exported in the module.
Before this patch:
$ modinfo drivers/leds/leds-lp3952.ko | grep alias
alias: acpi*:TXNW3952:*
After this patch:
$ modinfo drivers/leds/leds-lp3952.ko | grep alias
alias: i2c:lp3952
alias: acpi*:TXNW3952:*
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions