diff options
author | Luis de Bethencourt | 2015-09-03 10:50:21 -0700 |
---|---|---|
committer | Dmitry Torokhov | 2015-09-03 10:56:20 -0700 |
commit | 731857715f03035c812c3f6bdcb6b0179150c1aa (patch) | |
tree | c2a7b2b729acc5bde3a489f9ad1b585fa5b9b523 /drivers/input/misc | |
parent | 544edf56fdbf3916f4dad4e2dc71de3965a9d964 (diff) |
Input: regulator-haptic - 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>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r-- | drivers/input/misc/regulator-haptic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/regulator-haptic.c b/drivers/input/misc/regulator-haptic.c index 6bf3f1082f71..a804705eb04a 100644 --- a/drivers/input/misc/regulator-haptic.c +++ b/drivers/input/misc/regulator-haptic.c @@ -249,6 +249,7 @@ static const struct of_device_id regulator_haptic_dt_match[] = { { .compatible = "regulator-haptic" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE(of, regulator_haptic_dt_match); static struct platform_driver regulator_haptic_driver = { .probe = regulator_haptic_probe, |