projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fc9bb8
)
mfd: max14577: Provide MODULE_DEVICE_TABLE() to fix module autoloading
author
Liao Chen
<liaochen4@huawei.com>
Wed, 14 Aug 2024 02:57:10 +0000
(
02:57
+0000)
committer
Lee Jones
<lee@kernel.org>
Mon, 23 Sep 2024 15:20:53 +0000
(16:20 +0100)
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.
Signed-off-by: Liao Chen <liaochen4@huawei.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link:
https://lore.kernel.org/r/20240814025710.3875859-1-liaochen4@huawei.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/max14577.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/max14577.c
b/drivers/mfd/max14577.c
index
67bf4de
..
6fce79e
100644
(file)
--- a/
drivers/mfd/max14577.c
+++ b/
drivers/mfd/max14577.c
@@
-143,6
+143,7
@@
static const struct of_device_id max14577_dt_match[] = {
},
{},
};
+MODULE_DEVICE_TABLE(of, max14577_dt_match);
static bool max14577_muic_volatile_reg(struct device *dev, unsigned int reg)
{