]> git.baikalelectronics.ru Git - kernel.git/commit
misc: gehc: Add SPI ID table
authorMark Brown <broonie@kernel.org>
Thu, 23 Sep 2021 19:46:09 +0000 (20:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 13:47:18 +0000 (15:47 +0200)
commitddaad127f2647a0e79d263775f889ee903436bb3
tree3ce4bbb5308d555c7f0288bdb356e110af5acd00
parent2b2681b3709509b6ee0c78f8a42f37ab005d2c9b
misc: gehc: 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 a SPI ID table entry
for the device name part of the compatible - currently only the full
compatible is listed which isn't very idiomatic and won't match the
modalias that is generated.

Fixes: 009adf84324f ("spi: Revert modalias changes")
Cc: stable <stable@vger.kernel.org>
Tested-by: Martyn Welch <martyn.welch@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210923194609.52647-1-broonie@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/gehc-achc.c