diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-07-21 07:45:41 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-25 17:36:00 +0000 |
| commit | b25b3599264eec4f0af879f7e3b22c1cf38d0562 (patch) | |
| tree | 7fa6a37a7953769b313e89fca8cda914a0d067eb /drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c | |
| parent | drm/amdkfd: enable cooperative groups for gfx11 (diff) | |
| download | kernel-b25b3599264eec4f0af879f7e3b22c1cf38d0562.tar.gz kernel-b25b3599264eec4f0af879f7e3b22c1cf38d0562.zip | |
drm/amdgpu: Prefer #if IS_ENABLED over #if defined in amdgpu_drv.c
Adhere to linux coding style
Fixes the following:
WARNING: Prefer IS_ENABLED(<FOO>) to CONFIG_<FOO> || CONFIG_<FOO>_MODULE
+#if defined(CONFIG_DRM_RADEON) || defined(CONFIG_DRM_RADEON_MODULE)
WARNING: Prefer IS_ENABLED(<FOO>) to CONFIG_<FOO> || CONFIG_<FOO>_MODULE
+#if defined(CONFIG_DRM_RADEON) || defined(CONFIG_DRM_RADEON_MODULE)
Cc: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c')
0 files changed, 0 insertions, 0 deletions
