diff options
author | Arnd Bergmann <[email protected]> | 2017-11-02 15:24:40 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2017-11-02 13:42:10 -0400 |
commit | d8eed8263aa09c0c92416d06321eae4ad3eda343 (patch) | |
tree | f4aa64ab78b178b87bfd67b4f63dcb638dabbd4e /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 4a74635ce23a4b8758047a733faf791e38032263 (diff) |
drm/amdgpu/display: provide ASSERT macros unconditionally
It seems impossible to build this driver without setting either
CONFIG_DEBUG_KERNEL or CONFIG_DEBUG_DRIVER:
drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h: In function 'set_reg_field_value_ex':
drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132:2: error: implicit declaration of function 'ASSERT'; did you mean 'IS_ERR'? [-Werror=implicit-function-declaration]
This moves the ASSERT() macro and related helpers outside of
the #ifdef to get it to build again.
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions