mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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: 6956e2385a ("mtd: nand: add tango NAND flash controller support")
Cc: [email protected]
Signed-off-by: Andres Galacho <[email protected]>
Acked-by: Brian Norris <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
This commit is contained in:
parent
d241979074
commit
2761b4f12b
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue