Message ID | 20220928143133.1809491-1-zengheng4@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 25d0bef5d1d0dc2f919baa033be157d5c313994c |
Headers | show |
Series | [-next] misc: ibm-panel: add missing MODULE_DEVICE_TABLE | expand |
On Wed, Sep 28, 2022 at 10:31:33PM +0800, Zeng Heng wrote: > 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> Applied, thank you.
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 = {
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> --- drivers/input/misc/ibm-panel.c | 1 + 1 file changed, 1 insertion(+)