lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170515224751.60d34a50@bbrezillon>
Date:   Mon, 15 May 2017 22:47:51 +0200
From:   Boris Brezillon <boris.brezillon@...e-electrons.com>
To:     Andres Galacho <andresgalacho@...il.com>
Cc:     linux-kernel@...r.kernel.org, richard@....at, dwmw2@...radead.org,
        computersforpeace@...il.com, marek.vasut@...il.com,
        cyrille.pitchen@...ev4u.fr, marc_gonzalez@...madesigns.com,
        linux-mtd@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] mtd: nand: tango: Export OF device ID table as module
 aliases

On Mon,  1 May 2017 16:30:15 -0400
Andres Galacho <andresgalacho@...il.com> wrote:

> The device table is required to load modules based on
> modaliases. After adding MODULE_DEVICE_TABLE, below entries
> for example will be added to module.alias:
> alias:          of:N*T*Csigma,smp8758-nandC*
> alias:          of:N*T*Csigma,smp8758-nand
> 
> Signed-off-by: Andres Galacho <andresgalacho@...il.com>

Applied to nand/fixes.

Thanks,

Boris

> ---
>  drivers/mtd/nand/tango_nand.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mtd/nand/tango_nand.c b/drivers/mtd/nand/tango_nand.c
> index 05b6e1065203..82fea9b4c358 100644
> --- a/drivers/mtd/nand/tango_nand.c
> +++ b/drivers/mtd/nand/tango_nand.c
> @@ -663,6 +663,7 @@ static const struct of_device_id tango_nand_ids[] = {
>  	{ .compatible = "sigma,smp8758-nand" },
>  	{ /* sentinel */ }
>  };
> +MODULE_DEVICE_TABLE(of, tango_nand_ids);
>  
>  static struct platform_driver tango_nand_driver = {
>  	.probe	= tango_nand_probe,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ