Skip to content
Snippets Groups Projects
Commit 2f641a8b authored by Arnaud Patard \(Rtp\)'s avatar Arnaud Patard \(Rtp\) Committed by Wolfram Sang
Browse files

i2c: imx: allow autoloading on dt ids


Allow udev to autoload the module when booting with device-tree

Signed-off-by: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 6faa3535
No related branches found
No related tags found
No related merge requests found
...@@ -147,6 +147,7 @@ static const struct of_device_id i2c_imx_dt_ids[] = { ...@@ -147,6 +147,7 @@ static const struct of_device_id i2c_imx_dt_ids[] = {
{ .compatible = "fsl,imx21-i2c", .data = &imx_i2c_devtype[IMX21_I2C], }, { .compatible = "fsl,imx21-i2c", .data = &imx_i2c_devtype[IMX21_I2C], },
{ /* sentinel */ } { /* sentinel */ }
}; };
MODULE_DEVICE_TABLE(of, i2c_imx_dt_ids);
static inline int is_imx1_i2c(struct imx_i2c_struct *i2c_imx) static inline int is_imx1_i2c(struct imx_i2c_struct *i2c_imx)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment