mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 06:56:08 +07:00
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
Block a user