patch "misc: gehc: Add SPI ID table" added to char-misc-linus
Subsystems (2)
This is a note to let you know that I've just added the patch titled
misc: gehc: Add SPI ID table
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
From a3e16937319aea285c64ab5bf8464470afac8dd3 Mon Sep 17 00:00:00 2001
From: Mark Brown <[email protected]>
Date: Thu, 23 Sep 2021 20:46:09 +0100
Subject: 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.
--- drivers/misc/gehc-achc.c | 1 + 1 file changed, 1 insertion(+)
drivers/misc/gehc-achc.c +1 -0
@@ -539,6 +539,7 @@ static int gehc_achc_probe(struct spi_device *spi)static const struct spi_device_id gehc_achc_id[] = { {"ge,achc" ,0 }, + {"achc" ,0 }, { } };MODULE_DEVICE_TABLE (spi, gehc_achc_id);
Signature · 1 line
2.33.0