From 25d0bef5d1d0dc2f919baa033be157d5c313994c Mon Sep 17 00:00:00 2001 From: Zeng Heng Date: Wed, 28 Sep 2022 09:02:34 -0700 Subject: [PATCH] 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 Link: https://lore.kernel.org/r/20220928143133.1809491-1-zengheng4@huawei.com Signed-off-by: Dmitry Torokhov --- drivers/input/misc/ibm-panel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/misc/ibm-panel.c b/drivers/input/misc/ibm-panel.c index 094bcdb5..a8fba00 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 = { -- 2.7.4