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 <git@apitzsch.eu> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230319124153.35294-1-git@apitzsch.eu
This commit is contained in:
parent
44604617ce
commit
881656790e
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user