Commit 8ad003e7 authored by Andreas Kemnade's avatar Andreas Kemnade Committed by Lee Jones

backlight: lm3630a: Fix module aliases

Devicetree aliases are missing, so that module autoloading
does not work properly.
Signed-off-by: default avatarAndreas Kemnade <andreas@kemnade.info>
Reviewed-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 54ecb8f7
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment