diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-08-20 10:07:16 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-08-22 04:01:42 +0300 |
commit | d1d97b76c4af41c8e836e73742c91cbf97d7483c (patch) | |
tree | fbcb177c87cc4038743236e8a4869e72a552c22e /drivers/mtd/nand/nand_ids.c | |
parent | b226eca2088004622434cbcc27c6401b64f22d7c (diff) | |
download | linux-d1d97b76c4af41c8e836e73742c91cbf97d7483c.tar.xz |
mtd: dataflash: Export OF module alias information
The SPI core currently reports the MODALIAS uevent as "spi:<modalias>"
even for SPI devices that were registered by OF.
That means the OF module alias exported by MODULE_OF_TABLE(of,...) is
currently not used and user-space has no way to autoload this module.
But it is still a good practice to add the OF module alias information
into the kernel module even when it currently is unused so once the SPI
core is changed to report a correct OF modalias uevent, module
autoloading will be working for this driver.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/nand_ids.c')
0 files changed, 0 insertions, 0 deletions