summaryrefslogtreecommitdiff
path: root/sys/arch/socppc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/socppc')
-rw-r--r--sys/arch/socppc/dev/socpcic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/socppc/dev/socpcic.c b/sys/arch/socppc/dev/socpcic.c
index 1f95856b1f4..84d46878b6d 100644
--- a/sys/arch/socppc/dev/socpcic.c
+++ b/sys/arch/socppc/dev/socpcic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: socpcic.c,v 1.3 2009/03/30 20:09:50 kettenis Exp $ */
+/* $OpenBSD: socpcic.c,v 1.4 2009/08/22 02:54:51 mk Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
@@ -58,7 +58,7 @@ int socpcic_intr_map(void *, pcitag_t, int, int, pci_intr_handle_t *);
const char *socpcic_intr_string(void *, pci_intr_handle_t);
int socpcic_intr_line(void *, pci_intr_handle_t);
void *socpcic_intr_establish(void *, pci_intr_handle_t, int,
- int (*)(void *), void *, char *);
+ int (*)(void *), void *, const char *);
void socpcic_intr_disestablish(void *, void *);
int socpcic_ether_hw_addr(struct ppc_pci_chipset *, u_int8_t *);
@@ -218,7 +218,7 @@ socpcic_intr_line(void *cpv, pci_intr_handle_t ih)
void *
socpcic_intr_establish(void *cpv, pci_intr_handle_t ih, int level,
- int (*func)(void *), void *arg, char *name)
+ int (*func)(void *), void *arg, const char *name)
{
return (intr_establish(ih, IST_LEVEL, level, func, arg, name));
}