summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev/openpic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/macppc/dev/openpic.c')
-rw-r--r--sys/arch/macppc/dev/openpic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/macppc/dev/openpic.c b/sys/arch/macppc/dev/openpic.c
index 65b175a2a54..7bbacad8110 100644
--- a/sys/arch/macppc/dev/openpic.c
+++ b/sys/arch/macppc/dev/openpic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openpic.c,v 1.54 2009/06/09 01:12:38 deraadt Exp $ */
+/* $OpenBSD: openpic.c,v 1.55 2009/08/22 02:54:50 mk Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -147,7 +147,7 @@ extern void_f *pending_int_f;
vaddr_t openpic_base;
void * openpic_intr_establish( void * lcv, int irq, int type, int level,
- int (*ih_fun)(void *), void *ih_arg, char *name);
+ int (*ih_fun)(void *), void *ih_arg, const char *name);
void openpic_intr_disestablish( void *lcp, void *arg);
#ifdef MULTIPROCESSOR
intr_send_ipi_t openpic_send_ipi;
@@ -227,7 +227,7 @@ fakeintr(void *arg)
*/
void *
openpic_intr_establish(void *lcv, int irq, int type, int level,
- int (*ih_fun)(void *), void *ih_arg, char *name)
+ int (*ih_fun)(void *), void *ih_arg, const char *name)
{
struct intrhand **p, *q, *ih;
static struct intrhand fakehand;