[PATCH v1 09/20] gpio: Add missing dmi module annotations

From: Uwe Kleine-König (The Capable Hub)

Date: Tue Jul 14 2026 - 03:28:17 EST


A driver module matching devices using an dmi 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-pca953x.c | 1 +
drivers/gpio/gpiolib-acpi-quirks.c | 1 +
2 files changed, 2 insertions(+)

diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index f6b870b7b352..a2d85ab1d01f 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -177,6 +177,7 @@ static const struct dmi_system_id pca953x_dmi_acpi_irq_info[] = {
},
{}
};
+MODULE_DEVICE_TABLE(dmi, pca953x_dmi_acpi_irq_info);
#endif

static const struct acpi_device_id pca953x_acpi_ids[] = {
diff --git a/drivers/gpio/gpiolib-acpi-quirks.c b/drivers/gpio/gpiolib-acpi-quirks.c
index a0116f004975..5525c467c21d 100644
--- a/drivers/gpio/gpiolib-acpi-quirks.c
+++ b/drivers/gpio/gpiolib-acpi-quirks.c
@@ -394,6 +394,7 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
},
{} /* Terminating entry */
};
+MODULE_DEVICE_TABLE(dmi, gpiolib_acpi_quirks);

static int __init acpi_gpio_setup_params(void)
{
--
2.55.0.11.g153666a7d9bb