diff options
author | Andreas Kemnade <andreas@kemnade.info> | 2019-09-10 17:23:59 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-10-02 14:12:15 +0100 |
commit | 8ad003e7348ecd59f457de9bbf06b30535d734f0 (patch) | |
tree | b0180826d6057e82c26cd8d89f2c0551611d246a /drivers/video | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/backlight/lm3630a_bl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/backlight/lm3630a_bl.c b/drivers/video/backlight/lm3630a_bl.c index 2d8e8192e4e2..3614a4edbcd1 100644 --- a/drivers/video/backlight/lm3630a_bl.c +++ b/drivers/video/backlight/lm3630a_bl.c @@ -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 = { |