From 897629c0333672f4b475bc8c5f2bfc292cf80fc0 Mon Sep 17 00:00:00 2001 From: Johnny Liu Date: Wed, 27 Sep 2023 05:44:08 +0000 Subject: [PATCH] gpu: host1x-fence: share host1x compatible string Same compatible string can be shared between host1x_next and host1x_fence kernel modules so that those two modules will get automatically loaded. Bug 4291144 Signed-off-by: Johnny Liu Change-Id: I9901f4e094d1d6484f6d6cec6b9890c9a51ad1f6 --- drivers/gpu/host1x-fence/dev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/host1x-fence/dev.c b/drivers/gpu/host1x-fence/dev.c index 12350d8e..4076ebf8 100644 --- a/drivers/gpu/host1x-fence/dev.c +++ b/drivers/gpu/host1x-fence/dev.c @@ -543,6 +543,7 @@ unregister_chrdev_region: static const struct of_device_id host1x_fence_of_match[] = { { .compatible = "nvidia,tegra234-host1x" }, + { .compatible = "nvidia,tegra264-host1x" }, { }, }; MODULE_DEVICE_TABLE(of, host1x_fence_of_match);