sna/gen2: Silence compiler warn

../src/sna/kgem_debug_gen2.c:625:5: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
  625 |     const static struct {
      |     ^~~~~

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
Ville Syrjälä
2023-03-18 15:45:41 +02:00
parent 0750dd02b9
commit ea0b9aa5d0

View File

@@ -622,7 +622,7 @@ decode_3d_1c(struct kgem *kgem, uint32_t offset)
int kgem_gen2_decode_3d(struct kgem *kgem, uint32_t offset)
{
const static struct {
static const struct {
uint32_t opcode;
int min_len;
int max_len;