mtd: nand: tango: Export OF device ID table as module aliases
authorAndres Galacho <andresgalacho@gmail.com>
Mon, 1 May 2017 20:30:15 +0000 (16:30 -0400)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 22 May 2017 07:42:29 +0000 (09:42 +0200)
commit2761b4f12b017f6d3e5add386733a700a490df47
tree3707eac6a97dc48c950551a984f68e806fa93624
parentd24197907454b902908e025bce4b8bc677d3ba6b
mtd: nand: tango: Export OF device ID table as module aliases

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

Fixes: 6956e2385a16 ("mtd: nand: add tango NAND flash controller support")
Cc: stable@vger.kernel.org
Signed-off-by: Andres Galacho <andresgalacho@gmail.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/tango_nand.c