summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/clearstate_si.h
diff options
context:
space:
mode:
authorMichele CURTI <michele.curti@gmail.com>2014-05-19 11:23:55 -0400
committerAlex Deucher <alexander.deucher@amd.com>2014-06-02 10:25:07 -0400
commitd148f9e02e022d503938fc23050a3473f01bdb88 (patch)
tree514c791a89c2df105df9d9ce1e38ddecd3bc09cd /drivers/gpu/drm/radeon/clearstate_si.h
parent1243235469198fa7d6acbf91a828bfda2bfb120d (diff)
drm/radeon: use NULL instead of zero in clearstate headers
Signed-off-by: Michele Curti <michele.curti@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/clearstate_si.h')
-rw-r--r--drivers/gpu/drm/radeon/clearstate_si.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/clearstate_si.h b/drivers/gpu/drm/radeon/clearstate_si.h
index b994cb2a35a0..66e39cdb5cb0 100644
--- a/drivers/gpu/drm/radeon/clearstate_si.h
+++ b/drivers/gpu/drm/radeon/clearstate_si.h
@@ -933,9 +933,9 @@ static const struct cs_extent_def si_SECT_CONTEXT_defs[] =
{si_SECT_CONTEXT_def_5, 0x0000a2a1, 1 },
{si_SECT_CONTEXT_def_6, 0x0000a2a3, 1 },
{si_SECT_CONTEXT_def_7, 0x0000a2a5, 233 },
- { 0, 0, 0 }
+ { NULL, 0, 0 }
};
static const struct cs_section_def si_cs_data[] = {
{ si_SECT_CONTEXT_defs, SECT_CONTEXT },
- { 0, SECT_NONE }
+ { NULL, SECT_NONE }
};