* [patch 1/1] i2c-imx: allow autoloading on according to dt ids
@ 2013-06-20 21:07 Arnaud Patard
[not found] ` <20130620210716.729401533-dQbF7i+pzddAfugRpC6u6w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Arnaud Patard @ 2013-06-20 21:07 UTC (permalink / raw)
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA; +Cc: Sascha Hauer
[-- Attachment #1: i2c-imx-add-module_device_table.patch --]
[-- Type: text/plain, Size: 686 bytes --]
Allow udev to autoload the module when booting with device-tree
Signed-off-by: Arnaud Patard <arnaud.patard-dQbF7i+pzddAfugRpC6u6w@public.gmane.org>
Index: linux/drivers/i2c/busses/i2c-imx.c
===================================================================
--- linux.orig/drivers/i2c/busses/i2c-imx.c 2013-04-29 02:36:01.000000000 +0200
+++ linux/drivers/i2c/busses/i2c-imx.c 2013-05-16 08:56:06.000000000 +0200
@@ -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)
{
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 1/1] i2c-imx: allow autoloading on according to dt ids
[not found] ` <20130620210716.729401533-dQbF7i+pzddAfugRpC6u6w@public.gmane.org>
@ 2013-06-25 16:51 ` Wolfram Sang
0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2013-06-25 16:51 UTC (permalink / raw)
To: Arnaud Patard; +Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, Sascha Hauer
[-- Attachment #1: Type: text/plain, Size: 257 bytes --]
On Thu, Jun 20, 2013 at 11:07:06PM +0200, Arnaud Patard wrote:
> Allow udev to autoload the module when booting with device-tree
>
> Signed-off-by: Arnaud Patard <arnaud.patard-dQbF7i+pzddAfugRpC6u6w@public.gmane.org>
Applied to for-next, thanks!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-25 16:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-20 21:07 [patch 1/1] i2c-imx: allow autoloading on according to dt ids Arnaud Patard
[not found] ` <20130620210716.729401533-dQbF7i+pzddAfugRpC6u6w@public.gmane.org>
2013-06-25 16:51 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).