Remove the unnecessary and only global in musicpal.c
This commit is contained in:
parent
7ef6e71c59
commit
13f59cbfe3
@ -66,8 +66,6 @@
|
|||||||
#define MP_RTC_IRQ 28
|
#define MP_RTC_IRQ 28
|
||||||
#define MP_AUDIO_IRQ 30
|
#define MP_AUDIO_IRQ 30
|
||||||
|
|
||||||
static ram_addr_t sram_off;
|
|
||||||
|
|
||||||
/* Wolfson 8750 I2C address */
|
/* Wolfson 8750 I2C address */
|
||||||
#define MP_WM_ADDR 0x34
|
#define MP_WM_ADDR 0x34
|
||||||
|
|
||||||
@ -1286,6 +1284,7 @@ static void musicpal_init(ram_addr_t ram_size,
|
|||||||
int i;
|
int i;
|
||||||
unsigned long flash_size;
|
unsigned long flash_size;
|
||||||
DriveInfo *dinfo;
|
DriveInfo *dinfo;
|
||||||
|
ram_addr_t sram_off;
|
||||||
|
|
||||||
if (!cpu_model)
|
if (!cpu_model)
|
||||||
cpu_model = "arm926";
|
cpu_model = "arm926";
|
||||||
|
Loading…
Reference in New Issue
Block a user