mirror of https://gitee.com/openkylin/linux.git
backlight: lm3630a: Fix module aliases
Devicetree aliases are missing, so that module autoloading does not work properly. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
54ecb8f702
commit
8ad003e734
|
@ -598,12 +598,14 @@ static const struct i2c_device_id lm3630a_id[] = {
|
|||
{}
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(i2c, lm3630a_id);
|
||||
|
||||
static const struct of_device_id lm3630a_match_table[] = {
|
||||
{ .compatible = "ti,lm3630a", },
|
||||
{ },
|
||||
};
|
||||
|
||||
MODULE_DEVICE_TABLE(i2c, lm3630a_id);
|
||||
MODULE_DEVICE_TABLE(of, lm3630a_match_table);
|
||||
|
||||
static struct i2c_driver lm3630a_i2c_driver = {
|
||||
.driver = {
|
||||
|
|
Loading…
Reference in New Issue