mfd: arizona-i2c: add the missing device table IDs for of
Subsystems (2)
PATCH 1/1 mfd: arizona-i2c: add the missing device table IDs for of
This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as a module.
Signed-off-by André Apitzsch <[email protected]>
--- drivers/mfd/arizona-i2c.c | 1 + 1 file changed, 1 insertion(+)
drivers/mfd/arizona-i2c.c +1 -0
@@ -112,6 +112,7 @@ static const struct of_device_id arizona_i2c_of_match[] = { { .compatible = "wlf,wm1814", .data = (void *)WM1814 }, {}, }; +MODULE_DEVICE_TABLE (of, arizona_i2c_of_match);#endif static struct i2c_driver arizona_i2c_driver = {
Signature · 1 line
2.40.0
Quoted 6 lines · André Apitzsch
This patch adds missing
MODULE_DEVICE_TABLEdefinition which generates correct modalias for automatic loading of this driver when it is built as a module.Signed-off-by André Apitzsch <[email protected]>---
Acked-by Charles Keepax <[email protected]>
Thanks,
Charles
Quoted 3 lines · André Apitzsch
This patch adds missing
MODULE_DEVICE_TABLEdefinition which generates correct modalias for automatic loading of this driver when it is built as a module.
Next time please wrap at a more suitable point (~80-chars).
I've fixed this for you this time.
Quoted 4 lines
Signed-off-by André Apitzsch <[email protected]>--- drivers/mfd/arizona-i2c.c | 1 + 1 file changed, 1 insertion(+)
Applied, thanks
--
Lee Jones [李琼斯]