From b0070a58cca1390f5aef32879eb656af9468e7c7 Mon Sep 17 00:00:00 2001 From: Preetha Chandru R Date: Wed, 29 Aug 2018 14:50:06 +0530 Subject: gpu: nvgpu: declare the ID table as a device table Declare the ID table as a device table to enable autoloading of the module as the device tree is instantiated. Change-Id: I4f29259a0a9af6b72be99ed27789ee4d5d7a1aa2 Signed-off-by: Preetha Chandru R Reviewed-on: https://git-master.nvidia.com/r/1809174 Reviewed-by: svc-misra-checker GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/os/linux/module.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/os/linux/module.c') diff --git a/drivers/gpu/nvgpu/os/linux/module.c b/drivers/gpu/nvgpu/os/linux/module.c index 3be879be..cb501683 100644 --- a/drivers/gpu/nvgpu/os/linux/module.c +++ b/drivers/gpu/nvgpu/os/linux/module.c @@ -400,6 +400,7 @@ static struct of_device_id tegra_gk20a_of_match[] = { { }, }; +MODULE_DEVICE_TABLE(of, tegra_gk20a_of_match); #ifdef CONFIG_PM /** -- cgit v1.2.2