summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/smc91c9x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/smc91c9x.c')
-rw-r--r--src/emu/machine/smc91c9x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/machine/smc91c9x.c b/src/emu/machine/smc91c9x.c
index 4735863fe7f..6eff3f50fc5 100644
--- a/src/emu/machine/smc91c9x.c
+++ b/src/emu/machine/smc91c9x.c
@@ -92,7 +92,7 @@
#define EINT_ERCV 0x40
/* Ethernet register names */
-static const char *ethernet_regname[64] =
+static const char *const ethernet_regname[64] =
{
"TCR", "EPH STATUS", "RCR", "COUNTER", "MIR", "MCR", "(0.6)", "BANK",
"CONFIG", "BASE", "IA0-1", "IA2-3", "IA4-5", "GENERAL PURPOSE", "CONTROL", "BANK",
@@ -164,7 +164,7 @@ static void update_ethernet_irq(void);
*
*************************************/
-void smc91c94_init(struct smc91c9x_interface *config)
+void smc91c94_init(const struct smc91c9x_interface *config)
{
ethernet.irq_handler = config->irq_handler;
}