mfd: max14577: fix module autoloading
PATCH 1/1 mfd: max14577: 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 Liao Chen <[email protected]>
--- drivers/mfd/max14577.c | 1 + 1 file changed, 1 insertion(+)
drivers/mfd/max14577.c +1 -0
@@ -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) {
Signature · 1 line
2.34.1
Quoted 8 lines · Liao Chen
Add
MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias fromof_device_idtable.Signed-off-by Liao Chen <[email protected]>--- drivers/mfd/max14577.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by Krzysztof Kozlowski <[email protected]>
Best regards,
Krzysztof
Re: (subset) [PATCH -next] mfd: max14577: fix module autoloading
In reply to Liao ChenQuoted 4 lines · Liao Chen
Add
MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias fromof_device_idtable.
Applied, thanks!
[1/1] mfd: max14577: fix module autoloading
commit: 9b443909657acc0439d1c78dbf98c15d67e2b546
--
Lee Jones [李琼斯]