]> git.baikalelectronics.ru Git - kernel.git/commit
spi: Add "spi:" prefix to modalias attribute of spi devices
authorGrant Likely <grant.likely@secretlab.ca>
Sun, 20 May 2012 06:08:13 +0000 (00:08 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 21 May 2012 02:14:48 +0000 (20:14 -0600)
commit38f028a208a358485bc4c2cfbdd6976204fdd272
tree2e84c82115893477753dabb4d882b50aa46815d9
parent5f916a5ab5afd70fe3a9b3a066110e7e108853af
spi: Add "spi:" prefix to modalias attribute of spi devices

The modalias attribute of spi devices doesn't have the "spi:" prefix
that is used in the UEVENT and in spi device drivers.  This patch adds
the prefix so the modprobe can correctly match modules to devices.

Reported-by: David Daney <david.daney@cavium.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi.c