[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200206153448.GA30090@lunn.ch>
Date: Thu, 6 Feb 2020 16:34:48 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Codrin Ciubotariu <codrin.ciubotariu@...rochip.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
woojung.huh@...rochip.com, UNGLinuxDriver@...rochip.com,
vivien.didelot@...il.com, f.fainelli@...il.com,
davem@...emloft.net,
Razvan Stefanescu <razvan.stefanescu@...rochip.com>
Subject: Re: [PATCH] net: dsa: microchip: enable module autoprobe
On Thu, Feb 06, 2020 at 05:08:37PM +0200, Codrin Ciubotariu wrote:
> From: Razvan Stefanescu <razvan.stefanescu@...rochip.com>
>
> This matches /sys/devices/.../spi1.0/modalias content.
>
> Signed-off-by: Razvan Stefanescu <razvan.stefanescu@...rochip.com>
> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@...rochip.com>
> ---
> 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");
Is this sufficient for all the different variants this driver
supports?
Andrew
Powered by blists - more mailing lists