Skip to content

Commit

Permalink
backlight: lm3630a: Fix module aliases
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Kemnade authored and Lee Jones committed Oct 2, 2019
1 parent 54ecb8f commit 8ad003e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/video/backlight/lm3630a_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 8ad003e

Please sign in to comment.