Skip to content

Commit

Permalink
arizona-i2c: Allow auto loading from device tree
Browse files Browse the repository at this point in the history
Signed-off-by: André Apitzsch <git@apitzsch.eu>
  • Loading branch information
André Apitzsch committed Apr 22, 2023
1 parent cae16b3 commit 9b2b962
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mfd/arizona-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 9b2b962

Please sign in to comment.