diff options
author | Vince Hsu <vinceh@nvidia.com> | 2018-07-26 07:16:59 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-07 04:45:02 -0400 |
commit | fde90d0c8dc9182bfa730e889ffc26cefca18ccc (patch) | |
tree | 2bcc41c596408470e9c67ecb70ffea4b4db57d52 /drivers/gpu/nvgpu/common/posix | |
parent | ea896018364560224f7047417e48b61e1c2bee38 (diff) |
gpu: nvgpu: pass correct argument to sysfs_attr_init
The sysfs_attr_init accepts pointer of struct attribute instead of
struct device_attribute. This patch fixes build error when
CONFIG_DEBUG_LOCK_ALLOC is enabled.
Bug 200432223
Change-Id: Id655ca18102c5252485db378ba2499a66d758882
Signed-off-by: Vince Hsu <vinceh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1786590
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/posix')
0 files changed, 0 insertions, 0 deletions