[PATCH v1 05/20] gpio: Add missing ACPI module annotations
From: Uwe Kleine-König (The Capable Hub)
Date: Tue Jul 14 2026 - 03:27:06 EST
A driver module matching devices using an ACPI device id table is
supposed to declare that in the module's metadata. Add this information
for two drivers that failed to declare these.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/gpio/gpio-usbio.c | 1 +
drivers/gpio/gpio-xgene.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpio/gpio-usbio.c b/drivers/gpio/gpio-usbio.c
index 489c8ac6299e..614523d461fe 100644
--- a/drivers/gpio/gpio-usbio.c
+++ b/drivers/gpio/gpio-usbio.c
@@ -34,6 +34,7 @@ static const struct acpi_device_id usbio_gpio_acpi_hids[] = {
{ "INTC1116" }, /* NVL */
{ }
};
+MODULE_DEVICE_TABLE(acpi, usbio_gpio_acpi_hids);
static void usbio_gpio_get_bank_and_pin(struct gpio_chip *gc, unsigned int offset,
struct usbio_gpio_bank **bank_ret,
diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c
index 22d22962963b..ad0f1551c271 100644
--- a/drivers/gpio/gpio-xgene.c
+++ b/drivers/gpio/gpio-xgene.c
@@ -197,6 +197,7 @@ static const struct acpi_device_id xgene_gpio_acpi_match[] = {
{ "APMC0D14" },
{ },
};
+MODULE_DEVICE_TABLE(acpi, xgene_gpio_acpi_match);
#endif
static struct platform_driver xgene_gpio_driver = {
--
2.55.0.11.g153666a7d9bb