summaryrefslogtreecommitdiffstats
path: root/hw/tc58128.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/tc58128.c')
-rw-r--r--hw/tc58128.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/tc58128.c b/hw/tc58128.c
index 2cd176b..37f5419 100644
--- a/hw/tc58128.c
+++ b/hw/tc58128.c
@@ -26,7 +26,7 @@ static tc58128_dev tc58128_devs[2];
#define FLASH_SIZE (16*1024*1024)
-void init_dev(tc58128_dev * dev, char *filename)
+static void init_dev(tc58128_dev * dev, const char *filename)
{
int ret, blocks;
@@ -175,7 +175,7 @@ static sh7750_io_device tc58128 = {
tc58128_cb /* Callback */
};
-int tc58128_init(struct SH7750State *s, char *zone1, char *zone2)
+int tc58128_init(struct SH7750State *s, const char *zone1, const char *zone2)
{
init_dev(&tc58128_devs[0], zone1);
init_dev(&tc58128_devs[1], zone2);
OpenPOWER on IntegriCloud