From: Andreas Kemnade Date: Tue, 10 Sep 2019 15:23:59 +0000 (+0200) Subject: backlight: lm3630a: Fix module aliases X-Git-Tag: v5.15~5014^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ad003e7348ecd59f457de9bbf06b30535d734f0;p=platform%2Fkernel%2Flinux-starfive.git backlight: lm3630a: Fix module aliases Devicetree aliases are missing, so that module autoloading does not work properly. Signed-off-by: Andreas Kemnade Reviewed-by: Daniel Thompson Signed-off-by: Lee Jones --- diff --git a/drivers/video/backlight/lm3630a_bl.c b/drivers/video/backlight/lm3630a_bl.c index 2d8e819..3614a4e 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 = {