Skip to content

Commit 9b2b962

Browse files
author
André Apitzsch
committed
arizona-i2c: Allow auto loading from device tree
Signed-off-by: André Apitzsch <[email protected]>
1 parent cae16b3 commit 9b2b962

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)