Thread (99 messages) 99 messages, 5 authors, 2023-07-26
STALE1061d
Revisions (4)
  1. v7 [diff vs current]
  2. v8 [diff vs current]
  3. v9 current
  4. v10 [diff vs current]

[PATCH v9 04/10] stmpe-spi: Fix typo

From: Allen Webb <hidden>
Date: 2022-12-19 20:46:46
Also in: linux-usb, lkml, stable
Subsystem: multifunction devices (mfd), the rest · Maintainers: Lee Jones, Linus Torvalds

A small difference in the name supplied to MODULE_DEVICE_TABLE
breaks a future patch set, so fix the typo.

Cc: stable@vger.kernel.org
Fixes: e789995d5c61 ("mfd: Add support for STMPE SPI interface")
Reported-by: kernel test robot <redacted>
Signed-off-by: Allen Webb <redacted>
---
 drivers/mfd/stmpe-spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/stmpe-spi.c b/drivers/mfd/stmpe-spi.c
index ad8055a0e286..6791a5368977 100644
--- a/drivers/mfd/stmpe-spi.c
+++ b/drivers/mfd/stmpe-spi.c
@@ -129,7 +129,7 @@ static const struct spi_device_id stmpe_spi_id[] = {
 	{ "stmpe2403", STMPE2403 },
 	{ }
 };
-MODULE_DEVICE_TABLE(spi, stmpe_id);
+MODULE_DEVICE_TABLE(spi, stmpe_spi_id);
 
 static struct spi_driver stmpe_spi_driver = {
 	.driver = {
-- 
2.37.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help