net: dsa: b53: Add SPI ID table
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 2 Dec 2021 04:17:20 +0000 (20:17 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Dec 2021 08:04:47 +0000 (09:04 +0100)
commitf8aceb91a5ddb10b29b7f7f0d835081d6481d0c3
treee21f5d2090bba83d03783447465c6a4d3c121540
parentad7f90bb88468acc9dc0009e6b6b65e340846557
net: dsa: b53: Add SPI ID table

commit 88362ebfd7fb569c78d5cb507aa9d3c8fc203839 upstream.

Currently autoloading for SPI devices does not use the DT ID table, it
uses SPI modalises. Supporting OF modalises is going to be difficult if
not impractical, an attempt was made but has been reverted, so ensure
that module autoloading works for this driver by adding an id_table
listing the SPI IDs for everything.

Fixes: 96c8395e2166 ("spi: Revert modalias changes")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/dsa/b53/b53_spi.c