summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAndrzej Zaborowski <balrog@zabor.org>2009-08-23 17:44:20 +0200
committerAndrzej Zaborowski <balrog@zabor.org>2009-08-23 17:44:20 +0200
commit13f59cbfe37834d7a00145435405af40a1237514 (patch)
tree119bfb757adf2c178c96e633bce9fe111751b48d /hw
parent7ef6e71c599aebd066ab1d29be8944bd5c0eb0c2 (diff)
downloadqemu-13f59cbfe37834d7a00145435405af40a1237514.tar.gz
Remove the unnecessary and only global in musicpal.c
Diffstat (limited to 'hw')
-rw-r--r--hw/musicpal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/musicpal.c b/hw/musicpal.c
index 670a704cf0..72d72644e8 100644
--- a/hw/musicpal.c
+++ b/hw/musicpal.c
@@ -66,8 +66,6 @@
#define MP_RTC_IRQ 28
#define MP_AUDIO_IRQ 30
-static ram_addr_t sram_off;
-
/* Wolfson 8750 I2C address */
#define MP_WM_ADDR 0x34
@@ -1286,6 +1284,7 @@ static void musicpal_init(ram_addr_t ram_size,
int i;
unsigned long flash_size;
DriveInfo *dinfo;
+ ram_addr_t sram_off;
if (!cpu_model)
cpu_model = "arm926";