aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeng Heng <zengheng4@huawei.com>2022-09-28 09:02:34 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-09-28 09:04:32 -0700
commit25d0bef5d1d0dc2f919baa033be157d5c313994c (patch)
tree6956a40b2bc05362e01fe28d0738b86242d96186
parentInput: icn8505 - utilize acpi_get_subsystem_id() (diff)
downloadlinux-dev-25d0bef5d1d0dc2f919baa033be157d5c313994c.tar.xz
linux-dev-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>
-rw-r--r--drivers/input/misc/ibm-panel.c1
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 = {