summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-05-05 14:15:33 +0200
committerSamuel Pitoiset <[email protected]>2017-05-05 18:29:30 +0200
commit485ece83aceb3a35792efbc6fe2bca57ba46c04a (patch)
treeb0404a41eadbd28b24e5a18fddef56584f6de8ba
parent92ab06e782c31fe0209e5d0181967a2ff6739c9b (diff)
radeonsi: fix build with GCC 4.8
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 <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/drivers/radeonsi/si_perfcounter.c2
1 files changed, 1 insertions, 1 deletions
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,