mtd: Fix module autoload for OF platform drivers
cover mtd: Fix module autoload for OF platform drivers
Hi,
These patches add the missing MODULE_DEVICE_TABLE() for OF to export the information so modules have the correct aliases built-in and autoloading works correctly.
A longer explanation by Javier Canillas can be found here:
https://lkml.org/lkml/2015/7/30/519
Thanks,
Luis
Luis de Bethencourt (5):
mtd: fsl_elbc_nand: Fix module autoload for OF platform driver
mtd: fsl_ifc_nand: Fix module autoload for OF platform driver
mtd: mpc5121_nfc: Fix module autoload for OF platform driver
mtd: mxc_nand: Fix module autoload for OF platform driver
mtd: orion_nand: Fix module autoload for OF platform driver
drivers/mtd/nand/fsl_elbc_nand.c | 1 + drivers/mtd/nand/fsl_ifc_nand.c | 1 + drivers/mtd/nand/mpc5121_nfc.c | 1 + drivers/mtd/nand/mxc_nand.c | 1 + drivers/mtd/nand/orion_nand.c | 1 + 5 files changed, 5 insertions(+)
Signature · 1 line
2.4.6
Quoted 11 lines · Luis de Bethencourt
Hi,
These patches add the missing
MODULE_DEVICE_TABLE()for OF to export the information so modules have the correct aliases built-in and autoloading works correctly.A longer explanation by Javier Canillas can be found here:
https://lkml.org/lkml/2015/7/30/519Thanks,
Luis
FYI, your threading (References and In-Reply-To headers) is wrong (or rather, missing). Please consider testing locally and fixing this in the future. git-send-email generally does a good job, if you are able to use it.
Anyway, pushed all 5 to l2-mtd.git.
Brian