]> git.baikalelectronics.ru Git - kernel.git/commit
nfc: st-nci: Add SPI ID matching DT compatible
authorMark Brown <broonie@kernel.org>
Wed, 22 Sep 2021 18:30:37 +0000 (19:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Sep 2021 11:53:06 +0000 (12:53 +0100)
commitf2df42ab5c0a75367a1b48ba0226834b396ad2cb
tree2d5314df200b0c863677a617d64870c9165f9e38
parent7f0ea4804e5da9a747f59c011349d5aad67f9e17
nfc: st-nci: Add SPI ID matching DT compatible

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 the part name used in
the compatible to the list of SPI IDs.

Fixes: 009adf84324f ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/st-nci/spi.c