Commit 27743e0b authored by Niels de Vos's avatar Niels de Vos Committed by Mark Brown

spi/imx: expose module alias for loading from device-tree

Enable auto loading by udev when spi-imx is compiled as a module.
Signed-off-by: default avatarNiels de Vos <ndevos@redhat.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 83174626
...@@ -619,6 +619,7 @@ static const struct of_device_id spi_imx_dt_ids[] = { ...@@ -619,6 +619,7 @@ static const struct of_device_id spi_imx_dt_ids[] = {
{ .compatible = "fsl,imx51-ecspi", .data = &imx51_ecspi_devtype_data, }, { .compatible = "fsl,imx51-ecspi", .data = &imx51_ecspi_devtype_data, },
{ /* sentinel */ } { /* sentinel */ }
}; };
MODULE_DEVICE_TABLE(of, spi_imx_dt_ids);
static void spi_imx_chipselect(struct spi_device *spi, int is_active) static void spi_imx_chipselect(struct spi_device *spi, int is_active)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment