diff mbox

spi: spi-imx: Add MODULE_ALIAS()

Message ID 1357598575-24233-1-git-send-email-festevam@gmail.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Fabio Estevam Jan. 7, 2013, 10:42 p.m. UTC
From: Fabio Estevam <fabio.estevam@freescale.com>

Add an entry for MODULE_ALIAS().

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 drivers/spi/spi-imx.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Grant Likely Feb. 5, 2013, 1:17 p.m. UTC | #1
On Mon,  7 Jan 2013 20:42:55 -0200, Fabio Estevam <festevam@gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Add an entry for MODULE_ALIAS().
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks.

g.

> ---
>  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 9049132..0befeeb 100644
> --- a/drivers/spi/spi-imx.c
> +++ b/drivers/spi/spi-imx.c
> @@ -949,3 +949,4 @@ module_platform_driver(spi_imx_driver);
>  MODULE_DESCRIPTION("SPI Master Controller driver");
>  MODULE_AUTHOR("Sascha Hauer, Pengutronix");
>  MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:" DRIVER_NAME);
> -- 
> 1.7.9.5
>
diff mbox

Patch

diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-imx.c
index 9049132..0befeeb 100644
--- a/drivers/spi/spi-imx.c
+++ b/drivers/spi/spi-imx.c
@@ -949,3 +949,4 @@  module_platform_driver(spi_imx_driver);
 MODULE_DESCRIPTION("SPI Master Controller driver");
 MODULE_AUTHOR("Sascha Hauer, Pengutronix");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:" DRIVER_NAME);