From: Javier Martinez Canillas Date: Thu, 20 Aug 2015 07:07:16 +0000 (+0200) Subject: mtd: dataflash: Export OF module alias information X-Git-Tag: omap-for-v4.3/fixes-rc1~116^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1d97b76c4af41c8e836e73742c91cbf97d7483c;p=pandora-kernel.git mtd: dataflash: Export OF module alias information The SPI core currently reports the MODALIAS uevent as "spi:" 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 Signed-off-by: Brian Norris --- Reading git-diff-tree failed