[PATCH] net: dsa: microchip: enable module autoprobe

From: Codrin Ciubotariu
Date: Thu Feb 06 2020 - 10:08:57 EST


From: Razvan Stefanescu <razvan.stefanescu@xxxxxxxxxxxxx>

This matches /sys/devices/.../spi1.0/modalias content.

Signed-off-by: Razvan Stefanescu <razvan.stefanescu@xxxxxxxxxxxxx>
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@xxxxxxxxxxxxx>
---
drivers/net/dsa/microchip/ksz9477_spi.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/dsa/microchip/ksz9477_spi.c b/drivers/net/dsa/microchip/ksz9477_spi.c
index c5f64959a184..248b69c74b45 100644
--- a/drivers/net/dsa/microchip/ksz9477_spi.c
+++ b/drivers/net/dsa/microchip/ksz9477_spi.c
@@ -101,6 +101,7 @@ static struct spi_driver ksz9477_spi_driver = {

module_spi_driver(ksz9477_spi_driver);

+MODULE_ALIAS("spi:ksz8563");
MODULE_AUTHOR("Woojung Huh <Woojung.Huh@xxxxxxxxxxxxx>");
MODULE_DESCRIPTION("Microchip KSZ9477 Series Switch SPI access Driver");
MODULE_LICENSE("GPL");
--
2.20.1