[PATCH 1/3] drm: pl111: Fix module autoloading

Rob Herring robh at kernel.org
Thu Apr 9 01:39:45 UTC 2020


Add a missing MODULE_DEVICE_TABLE entry to fix module autoloading.

Cc: Eric Anholt <eric at anholt.net>
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: Rob Herring <robh at kernel.org>
---
 drivers/gpu/drm/pl111/pl111_drv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/pl111/pl111_drv.c b/drivers/gpu/drm/pl111/pl111_drv.c
index aa8aa8d9e405..7f405b1374c2 100644
--- a/drivers/gpu/drm/pl111/pl111_drv.c
+++ b/drivers/gpu/drm/pl111/pl111_drv.c
@@ -444,6 +444,7 @@ static const struct amba_id pl111_id_table[] = {
 	},
 	{0, 0},
 };
+MODULE_DEVICE_TABLE(amba, pl111_id_table);
 
 static struct amba_driver pl111_amba_driver __maybe_unused = {
 	.drv = {
-- 
2.20.1



More information about the dri-devel mailing list