Skip to content

Commit 2f641a8

Browse files
thertpWolfram Sang
authored andcommitted
i2c: imx: allow autoloading on dt ids
Allow udev to autoload the module when booting with device-tree Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
1 parent 6faa353 commit 2f641a8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/i2c/busses/i2c-imx.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ static const struct of_device_id i2c_imx_dt_ids[] = {
147147
{ .compatible = "fsl,imx21-i2c", .data = &imx_i2c_devtype[IMX21_I2C], },
148148
{ /* sentinel */ }
149149
};
150+
MODULE_DEVICE_TABLE(of, i2c_imx_dt_ids);
150151

151152
static inline int is_imx1_i2c(struct imx_i2c_struct *i2c_imx)
152153
{

0 commit comments

Comments
 (0)