Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d866723 authored by Arun Bharadwaj's avatar Arun Bharadwaj Committed by Lee Jones
Browse files

gpio-backlight: Discover driver during boot time



The gpio-backlight driver seems to be missing the
MODULE_DEVICE_TABLE line which is preventing it from
being modprobed during boot time even if the
gpio-backlight device exists.

This seems to be a bug and this patch attempts to
fix that.

Signed-off-by: default avatarArun Bharadwaj <arun@gumstix.com>
Signed-off-by: default avatarAsh Charles <ashcharles@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 5ebe6afa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -146,6 +146,8 @@ static struct of_device_id gpio_backlight_of_match[] = {
	{ .compatible = "gpio-backlight" },
	{ /* sentinel */ }
};

MODULE_DEVICE_TABLE(of, gpio_backlight_of_match);
#endif

static struct platform_driver gpio_backlight_driver = {