Commit 25d0bef5 authored by Zeng Heng's avatar Zeng Heng Committed by Dmitry Torokhov

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: default avatarZeng Heng <zengheng4@huawei.com>
Link: https://lore.kernel.org/r/20220928143133.1809491-1-zengheng4@huawei.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 600655cd
...@@ -183,6 +183,7 @@ static const struct of_device_id ibm_panel_match[] = { ...@@ -183,6 +183,7 @@ static const struct of_device_id ibm_panel_match[] = {
{ .compatible = "ibm,op-panel" }, { .compatible = "ibm,op-panel" },
{ } { }
}; };
MODULE_DEVICE_TABLE(of, ibm_panel_match);
static struct i2c_driver ibm_panel_driver = { static struct i2c_driver ibm_panel_driver = {
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment