[PATCH] mtd: omap_elm: Fix module alias

Roger Quadros rogerq at ti.com
Tue Aug 18 07:03:59 PDT 2015


On 18/08/15 16:03, Axel Lin wrote:
> Remove extra space after the "platform:" prefix and make the alias matches
> driver name.
> 
> Signed-off-by: Axel Lin <axel.lin at ingics.com>

Acked-by: Roger Quadros <rogerq at ti.com>

cheers,
-roger

> ---
>  drivers/mtd/nand/omap_elm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c
> index 376bfe1..235ec79 100644
> --- a/drivers/mtd/nand/omap_elm.c
> +++ b/drivers/mtd/nand/omap_elm.c
> @@ -574,5 +574,5 @@ module_platform_driver(elm_driver);
>  
>  MODULE_DESCRIPTION("ELM driver for BCH error correction");
>  MODULE_AUTHOR("Texas Instruments");
> -MODULE_ALIAS("platform: elm");
> +MODULE_ALIAS("platform:" DRIVER_NAME);
>  MODULE_LICENSE("GPL v2");
> 



More information about the linux-mtd mailing list