Revision 7ccfb2eb hw/tc58128.c

b/hw/tc58128.c
26 26

  
27 27
#define FLASH_SIZE (16*1024*1024)
28 28

  
29
void init_dev(tc58128_dev * dev, char *filename)
29
static void init_dev(tc58128_dev * dev, const char *filename)
30 30
{
31 31
    int ret, blocks;
32 32

  
......
175 175
    tc58128_cb			/* Callback */
176 176
};
177 177

  
178
int tc58128_init(struct SH7750State *s, char *zone1, char *zone2)
178
int tc58128_init(struct SH7750State *s, const char *zone1, const char *zone2)
179 179
{
180 180
    init_dev(&tc58128_devs[0], zone1);
181 181
    init_dev(&tc58128_devs[1], zone2);

Also available in: Unified diff