Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andreas Kemnade and committed by
Lee Jones
8ad003e7 54ecb8f7

+3 -1
+3 -1
drivers/video/backlight/lm3630a_bl.c
··· 598 598 {} 599 599 }; 600 600 601 + MODULE_DEVICE_TABLE(i2c, lm3630a_id); 602 + 601 603 static const struct of_device_id lm3630a_match_table[] = { 602 604 { .compatible = "ti,lm3630a", }, 603 605 { }, 604 606 }; 605 607 606 - MODULE_DEVICE_TABLE(i2c, lm3630a_id); 608 + MODULE_DEVICE_TABLE(of, lm3630a_match_table); 607 609 608 610 static struct i2c_driver lm3630a_i2c_driver = { 609 611 .driver = {