diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-01-31 18:28:23 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-04-04 02:24:22 -0400 |
commit | af65ec26976719547212ae29abc10548cf40b7ac (patch) | |
tree | 44cc2c89a1b1521b4d3eff7e28cf16a39e078773 /drivers/gpu/nvgpu/therm/thrmchannel.h | |
parent | e7cc24eb9b78e1cdd0f321123e64261c95018e73 (diff) |
gpu: nvgpu: Use #define for stalling/nonstalling
We use stalling and non-stalling enums in many places where u32 is
expected. enum conversion to u32 is considered unsafe, so change the
definition to #define with a qualifier U.
Change-Id: Ifa5cb9b6a0b0de79f7f8266979fc487d9823bafa
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1683817
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmchannel.h')
0 files changed, 0 insertions, 0 deletions