Skip to content

Commit

Permalink
net: dsa: microchip: enable module autoprobe
Browse files Browse the repository at this point in the history
This matches /sys/devices/.../spi1.0/modalias content.

Fixes: 9b2d9f0 ("net: dsa: microchip: add ksz9567 to ksz9477 driver")
Fixes: d9033ae ("net: dsa: microchip: add KSZ8563 compatibility string")
Fixes: 8c29beb ("net: dsa: microchip: add KSZ9893 switch support")
Fixes: 4531681 ("net: dsa: add support for ksz9897 ethernet switch")
Fixes: b987e98 ("dsa: add DSA switch driver for Microchip KSZ9477")
Signed-off-by: Razvan Stefanescu <razvan.stefanescu@microchip.com>
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Razvan Stefanescu authored and David S. Miller committed Feb 7, 2020
1 parent db3fa27 commit f8c2afa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/net/dsa/microchip/ksz9477_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ static struct spi_driver ksz9477_spi_driver = {

module_spi_driver(ksz9477_spi_driver);

MODULE_ALIAS("spi:ksz9477");
MODULE_ALIAS("spi:ksz9897");
MODULE_ALIAS("spi:ksz9893");
MODULE_ALIAS("spi:ksz9563");
MODULE_ALIAS("spi:ksz8563");
MODULE_ALIAS("spi:ksz9567");
MODULE_AUTHOR("Woojung Huh <Woojung.Huh@microchip.com>");
MODULE_DESCRIPTION("Microchip KSZ9477 Series Switch SPI access Driver");
MODULE_LICENSE("GPL");

0 comments on commit f8c2afa

Please sign in to comment.