projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
600655c
)
Input: ibm-panel - add missing MODULE_DEVICE_TABLE
author
Zeng Heng
<zengheng4@huawei.com>
Wed, 28 Sep 2022 16:02:34 +0000
(09:02 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 28 Sep 2022 16:04:32 +0000
(09:04 -0700)
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>
drivers/input/misc/ibm-panel.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/ibm-panel.c
b/drivers/input/misc/ibm-panel.c
index 094bcdb568f1304b42c73dfcde251179f83c0d1e..a8fba00547190205b8970fe2a17451c28bce6fdc 100644
(file)
--- 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 = {