diff options
author | Preetha Chandru R <pchandru@nvidia.com> | 2018-08-29 05:20:06 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-03 00:10:39 -0400 |
commit | b0070a58cca1390f5aef32879eb656af9468e7c7 (patch) | |
tree | 87de13407701e86f60b863d38b6f0406b65594a3 /drivers | |
parent | f187e0bf442c3b0a08c46b21196f06a18c8220a0 (diff) |
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 <pchandru@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1809174
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/module.c | 1 |
1 files changed, 1 insertions, 0 deletions
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[] = { | |||
400 | 400 | ||
401 | { }, | 401 | { }, |
402 | }; | 402 | }; |
403 | MODULE_DEVICE_TABLE(of, tegra_gk20a_of_match); | ||
403 | 404 | ||
404 | #ifdef CONFIG_PM | 405 | #ifdef CONFIG_PM |
405 | /** | 406 | /** |