Skip to contentSkip to conversation

i2c-imx: allow autoloading on according to dt ids

PATCH Applied Arnaud Patard (Rtp) 2 participants 2 messages Jun 20, 2013 – Jun 25, 2013 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c-imx: allow autoloading on according to dt ids

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

drivers/i2c/busses/i2c-imx.c +1 -0
Index: linux/drivers/i2c/busses/i2c-imx.c
===================================================================
@@ -148,6 +148,7 @@ static const struct of_device_id i2c_imx
 	{ .compatible = "fsl,imx21-i2c", .data = &imx_i2c_devtype[IMX21_I2C], },
 	{ /* sentinel */ }
 };
+MODULE_DEVICE_TABLE(of, i2c_imx_dt_ids);
 
 static inline int is_imx1_i2c(struct imx_i2c_struct *i2c_imx)
 {

A message that is not in the archive (sent off-list or not yet received): [email protected]