diff options
author | Zeng Heng <zengheng4@huawei.com> | 2022-09-28 18:02:34 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-09-28 18:04:32 +0200 |
commit | 25d0bef5d1d0dc2f919baa033be157d5c313994c (patch) | |
tree | 6956a40b2bc05362e01fe28d0738b86242d96186 /drivers/input | |
parent | Input: icn8505 - utilize acpi_get_subsystem_id() (diff) | |
download | linux-25d0bef5d1d0dc2f919baa033be157d5c313994c.tar.xz linux-25d0bef5d1d0dc2f919baa033be157d5c313994c.zip |
Input: ibm-panel - add missing MODULE_DEVICE_TABLE
This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.
Signed-off-by: Zeng Heng <zengheng4@huawei.com>
Link: https://lore.kernel.org/r/20220928143133.1809491-1-zengheng4@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/misc/ibm-panel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/ibm-panel.c b/drivers/input/misc/ibm-panel.c index 094bcdb568f1..a8fba0054719 100644 --- a/drivers/input/misc/ibm-panel.c +++ b/drivers/input/misc/ibm-panel.c @@ -183,6 +183,7 @@ static const struct of_device_id ibm_panel_match[] = { { .compatible = "ibm,op-panel" }, { } }; +MODULE_DEVICE_TABLE(of, ibm_panel_match); static struct i2c_driver ibm_panel_driver = { .driver = { |