diff options
author | Juan Quintela <quintela@redhat.com> | 2009-09-23 01:19:02 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-25 19:52:06 +0000 |
commit | 38972938256688f9a48c985d58e0ab9007e8664e (patch) | |
tree | 291a33fe391fc48a232490b3080690aeebe82a3d /hw/g364fb.c | |
parent | 668a38fcbd5b25167b2153b592d996aeced5a762 (diff) |
gcc wants 1st static and then const
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/g364fb.c')
-rw-r--r-- | hw/g364fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/g364fb.c b/hw/g364fb.c index 88e304823e..d1d2c12d6c 100644 --- a/hw/g364fb.c +++ b/hw/g364fb.c @@ -396,7 +396,7 @@ static uint32_t g364fb_ctrl_readb(void *opaque, target_phys_addr_t addr) static void g364fb_update_depth(G364State *s) { - const static int depths[8] = { 1, 2, 4, 8, 15, 16, 0 }; + static const int depths[8] = { 1, 2, 4, 8, 15, 16, 0 }; s->depth = depths[(s->ctla & 0x00700000) >> 20]; } |