OSDN Git Service

net: dsa: b53: Add SPI ID table
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 2 Dec 2021 04:17:20 +0000 (20:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2021 13:05:17 +0000 (13:05 +0000)
commit88362ebfd7fb569c78d5cb507aa9d3c8fc203839
tree80eaa2e6cc17a310ab0317ce38c627aa2d1188c2
parent1ebb87cc8928360d0eabf987d80512c7786594b1
net: dsa: b53: Add SPI ID table

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>
drivers/net/dsa/b53/b53_spi.c