[PATCH v1 08/20] gpio: pxa: Add missing platform module annotations

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

Date: Tue Jul 14 2026 - 03:27:56 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 317e3bc925eb..7aaed5b30e7e 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.55.0.11.g153666a7d9bb