mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] iio: accel: bma220: Publish the SPI driver's ACPI alias
@ 2026-09-05 13:39 hpp.iscas
  2026-09-05 23:16 ` Jonathan Cameron
  2026-09-08  9:55 ` Andy Shevchenko
  0 siblings, 2 replies; 3+ messages in thread
From: hpp.iscas @ 2026-09-05 13:39 UTC (permalink / raw)
  To: Petre Rodan
  Cc: hpp.iscas, Jonathan Cameron, David Lechner, Nuno Sá,
	Andy Shevchenko, linux-iio, linux-kernel, Tiberiu Breana

The BMA220 SPI driver registers an ACPI match table containing BMA0220,
but exports only its SPI and OF tables. SPI devices with an ACPI
companion emit an ACPI modalias, which neither existing table covers.

Publish the ACPI table without changing either of the other matches.

Fixes: bf2a5600a3eb ("iio: accel: Add support for Bosch BMA220")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
 drivers/iio/accel/bma220_spi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/accel/bma220_spi.c b/drivers/iio/accel/bma220_spi.c
index d6c1087..13b156b 100644
--- a/drivers/iio/accel/bma220_spi.c
+++ b/drivers/iio/accel/bma220_spi.c
@@ -33,6 +33,7 @@ static const struct acpi_device_id bma220_acpi_id[] = {
 	{ "BMA0220", 0 },
 	{ }
 };
+MODULE_DEVICE_TABLE(acpi, bma220_acpi_id);
 MODULE_DEVICE_TABLE(spi, bma220_spi_id);
 
 static const struct of_device_id bma220_of_spi_match[] = {


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-08  9:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-05 13:39 [PATCH] iio: accel: bma220: Publish the SPI driver's ACPI alias hpp.iscas
2026-09-05 23:16 ` Jonathan Cameron
2026-09-08  9:55 ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®