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

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
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 = {