aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/display/ramfb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/display/ramfb.c b/hw/display/ramfb.c
index 6867bce..30f5c8d 100644
--- a/hw/display/ramfb.c
+++ b/hw/display/ramfb.c
@@ -36,8 +36,8 @@ static void ramfb_fw_cfg_write(void *dev, off_t offset, size_t len)
{
RAMFBState *s = dev;
void *framebuffer;
- uint32_t stride, fourcc, format;
- hwaddr addr, length;
+ uint32_t fourcc, format;
+ hwaddr stride, addr, length;
s->width = be32_to_cpu(s->cfg.width);
s->height = be32_to_cpu(s->cfg.height);