diff options
author | André Apitzsch <git@apitzsch.eu> | 2023-03-19 13:41:53 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-04-26 12:40:33 +0200 |
commit | 881656790e9bd246b7cf6eb537feb04f09140a40 (patch) | |
tree | 0b426b63b3f1271c012d3284e20d971cbfc3d964 /drivers/mfd/arizona-i2c.c | |
parent | dt-bindings: mfd: qcom,spmi-pmic: Add PM2250 (diff) | |
download | linux-881656790e9bd246b7cf6eb537feb04f09140a40.tar.xz linux-881656790e9bd246b7cf6eb537feb04f09140a40.zip |
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
Diffstat (limited to 'drivers/mfd/arizona-i2c.c')
-rw-r--r-- | drivers/mfd/arizona-i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-i2c.c b/drivers/mfd/arizona-i2c.c index b2301586adbc..43e393c8608d 100644 --- a/drivers/mfd/arizona-i2c.c +++ b/drivers/mfd/arizona-i2c.c @@ -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 = { |