spi/imx: expose module alias for loading from device-tree
authorNiels de Vos <ndevos@redhat.com>
Mon, 29 Jul 2013 07:38:05 +0000 (09:38 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 29 Jul 2013 11:40:08 +0000 (12:40 +0100)
Enable auto loading by udev when spi-imx is compiled as a module.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-imx.c

index 81c7dd2228f9d27165e7aa07ba24a178aa976e87..15323d8bd9cfa4237c34069a76e3700dd6873c15 100644 (file)
@@ -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)
 {
This page took 0.030363 seconds and 5 git commands to generate.