Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d148f9e0 authored by Michele CURTI's avatar Michele CURTI Committed by Alex Deucher
Browse files

drm/radeon: use NULL instead of zero in clearstate headers

parent 12432354
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -1050,7 +1050,7 @@ static const struct cs_extent_def SECT_CONTEXT_defs[] =
    {SECT_CONTEXT_def_5, 0x0000a29e, 5 },
    {SECT_CONTEXT_def_5, 0x0000a29e, 5 },
    {SECT_CONTEXT_def_6, 0x0000a2a5, 56 },
    {SECT_CONTEXT_def_6, 0x0000a2a5, 56 },
    {SECT_CONTEXT_def_7, 0x0000a2de, 290 },
    {SECT_CONTEXT_def_7, 0x0000a2de, 290 },
    { 0, 0, 0 }
    { NULL, 0, 0 }
};
};
static const u32 SECT_CLEAR_def_1[] =
static const u32 SECT_CLEAR_def_1[] =
{
{
@@ -1061,7 +1061,7 @@ static const u32 SECT_CLEAR_def_1[] =
static const struct cs_extent_def SECT_CLEAR_defs[] =
static const struct cs_extent_def SECT_CLEAR_defs[] =
{
{
    {SECT_CLEAR_def_1, 0x0000ffc0, 3 },
    {SECT_CLEAR_def_1, 0x0000ffc0, 3 },
    { 0, 0, 0 }
    { NULL, 0, 0 }
};
};
static const u32 SECT_CTRLCONST_def_1[] =
static const u32 SECT_CTRLCONST_def_1[] =
{
{
@@ -1071,11 +1071,11 @@ static const u32 SECT_CTRLCONST_def_1[] =
static const struct cs_extent_def SECT_CTRLCONST_defs[] =
static const struct cs_extent_def SECT_CTRLCONST_defs[] =
{
{
    {SECT_CTRLCONST_def_1, 0x0000f3fc, 2 },
    {SECT_CTRLCONST_def_1, 0x0000f3fc, 2 },
    { 0, 0, 0 }
    { NULL, 0, 0 }
};
};
static const struct cs_section_def cayman_cs_data[] = {
static const struct cs_section_def cayman_cs_data[] = {
    { SECT_CONTEXT_defs, SECT_CONTEXT },
    { SECT_CONTEXT_defs, SECT_CONTEXT },
    { SECT_CLEAR_defs, SECT_CLEAR },
    { SECT_CLEAR_defs, SECT_CLEAR },
    { SECT_CTRLCONST_defs, SECT_CTRLCONST },
    { SECT_CTRLCONST_defs, SECT_CTRLCONST },
    { 0, SECT_NONE }
    { NULL, SECT_NONE }
};
};
+2 −2
Original line number Original line Diff line number Diff line
@@ -936,9 +936,9 @@ static const struct cs_extent_def ci_SECT_CONTEXT_defs[] =
    {ci_SECT_CONTEXT_def_5, 0x0000a2a0, 2 },
    {ci_SECT_CONTEXT_def_5, 0x0000a2a0, 2 },
    {ci_SECT_CONTEXT_def_6, 0x0000a2a3, 1 },
    {ci_SECT_CONTEXT_def_6, 0x0000a2a3, 1 },
    {ci_SECT_CONTEXT_def_7, 0x0000a2a5, 233 },
    {ci_SECT_CONTEXT_def_7, 0x0000a2a5, 233 },
    { 0, 0, 0 }
    { NULL, 0, 0 }
};
};
static const struct cs_section_def ci_cs_data[] = {
static const struct cs_section_def ci_cs_data[] = {
    { ci_SECT_CONTEXT_defs, SECT_CONTEXT },
    { ci_SECT_CONTEXT_defs, SECT_CONTEXT },
    { 0, SECT_NONE }
    { NULL, SECT_NONE }
};
};
+2 −2
Original line number Original line Diff line number Diff line
@@ -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_5, 0x0000a2a1, 1 },
    {si_SECT_CONTEXT_def_6, 0x0000a2a3, 1 },
    {si_SECT_CONTEXT_def_6, 0x0000a2a3, 1 },
    {si_SECT_CONTEXT_def_7, 0x0000a2a5, 233 },
    {si_SECT_CONTEXT_def_7, 0x0000a2a5, 233 },
    { 0, 0, 0 }
    { NULL, 0, 0 }
};
};
static const struct cs_section_def si_cs_data[] = {
static const struct cs_section_def si_cs_data[] = {
    { si_SECT_CONTEXT_defs, SECT_CONTEXT },
    { si_SECT_CONTEXT_defs, SECT_CONTEXT },
    { 0, SECT_NONE }
    { NULL, SECT_NONE }
};
};