Commit 607638b7 authored by Liao Chen's avatar Liao Chen Committed by Lee Jones

mfd: max14577: Provide MODULE_DEVICE_TABLE() to fix module autoloading

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.
Signed-off-by: default avatarLiao Chen <liaochen4@huawei.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240814025710.3875859-1-liaochen4@huawei.comSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent 6fc9bb82
...@@ -143,6 +143,7 @@ static const struct of_device_id max14577_dt_match[] = { ...@@ -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) static bool max14577_muic_volatile_reg(struct device *dev, unsigned int reg)
{ {
......
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