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

Input: pwm-beeper - fix module autoload for OF platform driver

This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt <luis@debethencourt.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Luis de Bethencourt and committed by
Dmitry Torokhov
544edf56 e4dbe796

+1
+1
drivers/input/misc/pwm-beeper.c
··· 173 173 { .compatible = "pwm-beeper", }, 174 174 { }, 175 175 }; 176 + MODULE_DEVICE_TABLE(of, pwm_beeper_match); 176 177 #endif 177 178 178 179 static struct platform_driver pwm_beeper_driver = {