From 485ece83aceb3a35792efbc6fe2bca57ba46c04a Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 5 May 2017 14:15:33 +0200 Subject: radeonsi: fix build with GCC 4.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: 7088b655e8 ("radeonsi: constify a bunch of the perfcounter structs.") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100937 Signed-off-by: Samuel Pitoiset Reviewed-by: Marek Olšák --- src/gallium/drivers/radeonsi/si_perfcounter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/radeonsi') diff --git a/src/gallium/drivers/radeonsi/si_perfcounter.c b/src/gallium/drivers/radeonsi/si_perfcounter.c index ad7b9b7ae4b..fd28d1176e3 100644 --- a/src/gallium/drivers/radeonsi/si_perfcounter.c +++ b/src/gallium/drivers/radeonsi/si_perfcounter.c @@ -302,7 +302,7 @@ static const struct si_pc_block_base cik_TCP = { .layout = SI_PC_MULTI_ALTERNATE, }; -static const struct si_pc_block_base cik_VGT = (const struct si_pc_block_base) { +static const struct si_pc_block_base cik_VGT = { .name = "VGT", .num_counters = 4, .flags = R600_PC_BLOCK_SE, -- cgit v1.2.3