Skip to content

Commit 8816567

Browse files
André Apitzschlag-linaro
authored andcommitted
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
1 parent 4460461 commit 8816567

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/mfd/arizona-i2c.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ static const struct of_device_id arizona_i2c_of_match[] = {
112112
{ .compatible = "wlf,wm1814", .data = (void *)WM1814 },
113113
{},
114114
};
115+
MODULE_DEVICE_TABLE(of, arizona_i2c_of_match);
115116
#endif
116117

117118
static struct i2c_driver arizona_i2c_driver = {

0 commit comments

Comments
 (0)