Skip to content

Commit 25d0bef

Browse files
henryZedtor
authored andcommitted
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>
1 parent 600655c commit 25d0bef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/input/misc/ibm-panel.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ static const struct of_device_id ibm_panel_match[] = {
183183
{ .compatible = "ibm,op-panel" },
184184
{ }
185185
};
186+
MODULE_DEVICE_TABLE(of, ibm_panel_match);
186187

187188
static struct i2c_driver ibm_panel_driver = {
188189
.driver = {

0 commit comments

Comments
 (0)