[PATCH v4 10/23] gpio: pxa: Add missing platform module annotations

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

Date: Tue Oct 27 2026 - 06:55:22 EST


A driver module matching devices using a platform device id table is
supposed to declare that in the module's metadata. Add this information
for the gpio-pxa driver that failed to declare this.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/gpio/gpio-pxa.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c
index fa2087acc025..d241fd4c3d31 100644
--- a/drivers/gpio/gpio-pxa.c
+++ b/drivers/gpio/gpio-pxa.c
@@ -719,6 +719,7 @@ static const struct platform_device_id gpio_id_table[] = {
{ .name = "pxa1928-gpio", .driver_data = (unsigned long)&pxa1928_id },
{ }
};
+MODULE_DEVICE_TABLE(platform, gpio_id_table);

static struct platform_driver pxa_gpio_driver = {
.probe = pxa_gpio_probe,
--
2.56.0.rc1