misc: ibm-panel: add missing MODULE_DEVICE_TABLE
Subsystems (3)
PATCH 1/1 misc: 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 <[email protected]>
--- drivers/input/misc/ibm-panel.c | 1 + 1 file changed, 1 insertion(+)
drivers/input/misc/ibm-panel.c +1 -0
@@ -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 = {
Signature · 1 line
2.25.1
Quoted 5 lines · Zeng Heng
This patch adds missing
MODULE_DEVICE_TABLEdefinition which generates correct modalias for automatic loading of this driver when it is built as an external module.Signed-off-by Zeng Heng <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry