aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Jiahua <[email protected]>2021-06-15 19:44:48 -0800
committerRobert Foss <[email protected]>2021-06-16 14:01:40 +0200
commitad5fd900a69b1ae24e6b22506dea637b6bbbdb55 (patch)
tree0b43490bec8abe4de75b080ec8dec7161049994f
parentbdb8d06dfefd666d5981d884b535b04105869fcc (diff)
drivers: gpu: add missing MODULE_DEVICE_TABLE in anx7625.c
This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Signed-off-by: Yu Jiahua <[email protected]> Signed-off-by: Robert Foss <[email protected]> Reviewed-by: Robert Foss <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--drivers/gpu/drm/bridge/analogix/anx7625.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c
index 7519b7a0f29d..98e17551b009 100644
--- a/drivers/gpu/drm/bridge/analogix/anx7625.c
+++ b/drivers/gpu/drm/bridge/analogix/anx7625.c
@@ -1874,6 +1874,7 @@ static const struct of_device_id anx_match_table[] = {
{.compatible = "analogix,anx7625",},
{},
};
+MODULE_DEVICE_TABLE(of, anx_match_table);
static struct i2c_driver anx7625_driver = {
.driver = {