* [PATCH] spi-imx: expose module alias for loading from device-tree
@ 2013-07-29 7:38 Niels de Vos
2013-07-29 11:40 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Niels de Vos @ 2013-07-29 7:38 UTC (permalink / raw)
To: devicetree; +Cc: Mark Brown, linux-spi, linux-kernel, Niels de Vos, Shawn Guo
Enable auto loading by udev when spi-imx is compiled as a module.
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
---
drivers/spi/spi-imx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c
index 7db4f43..ebfd20e 100644
--- a/drivers/spi/spi-imx.c
+++ b/drivers/spi/spi-imx.c
@@ -619,6 +619,7 @@ static const struct of_device_id spi_imx_dt_ids[] = {
{ .compatible = "fsl,imx51-ecspi", .data = &imx51_ecspi_devtype_data, },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, spi_imx_dt_ids);
static void spi_imx_chipselect(struct spi_device *spi, int is_active)
{
--
1.7.11.7
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] spi-imx: expose module alias for loading from device-tree
2013-07-29 7:38 [PATCH] spi-imx: expose module alias for loading from device-tree Niels de Vos
@ 2013-07-29 11:40 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-07-29 11:40 UTC (permalink / raw)
To: Niels de Vos; +Cc: devicetree, linux-spi, linux-kernel, Shawn Guo
[-- Attachment #1: Type: text/plain, Size: 148 bytes --]
On Mon, Jul 29, 2013 at 09:38:05AM +0200, Niels de Vos wrote:
> Enable auto loading by udev when spi-imx is compiled as a module.
Applied, 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-07-29 11:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 7:38 [PATCH] spi-imx: expose module alias for loading from device-tree Niels de Vos
2013-07-29 11:40 ` Mark Brown
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).