]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: bcm63xx-hsspi: Export OF device ID table as module aliases
authorAndres Galacho <andresgalacho@gmail.com>
Mon, 1 May 2017 20:13:38 +0000 (16:13 -0400)
committerMark Brown <broonie@kernel.org>
Sun, 14 May 2017 10:01:38 +0000 (19:01 +0900)
commit0b85a84217903e6d24342cc50bc5a685f8355711
tree658218e3a2c0ff1f39e90a1b02dad23b579cda6f
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
spi: bcm63xx-hsspi: 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*Cbrcm,bcm6328-hsspiC*
alias:          of:N*T*Cbrcm,bcm6328-hsspi

Signed-off-by: Andres Galacho <andresgalacho@gmail.com>
Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm63xx-hsspi.c