Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

André Apitzsch and committed by
Lee Jones
88165679 44604617

+1
+1
drivers/mfd/arizona-i2c.c
··· 112 112 { .compatible = "wlf,wm1814", .data = (void *)WM1814 }, 113 113 {}, 114 114 }; 115 + MODULE_DEVICE_TABLE(of, arizona_i2c_of_match); 115 116 #endif 116 117 117 118 static struct i2c_driver arizona_i2c_driver = {