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>
This commit is contained in:
Preetha Chandru R
2018-08-29 14:50:06 +05:30
committed by mobile promotions
parent f187e0bf44
commit b0070a58cc

View File

@@ -400,6 +400,7 @@ static struct of_device_id tegra_gk20a_of_match[] = {
{ },
};
MODULE_DEVICE_TABLE(of, tegra_gk20a_of_match);
#ifdef CONFIG_PM
/**