summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa64/dev')
-rw-r--r--sys/arch/hppa64/dev/apic.c4
-rw-r--r--sys/arch/hppa64/dev/elroyvar.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa64/dev/apic.c b/sys/arch/hppa64/dev/apic.c
index d3904c48b24..d351c65d6f3 100644
--- a/sys/arch/hppa64/dev/apic.c
+++ b/sys/arch/hppa64/dev/apic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apic.c,v 1.2 2005/05/22 01:42:49 mickey Exp $ */
+/* $OpenBSD: apic.c,v 1.3 2009/08/22 02:54:50 mk Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -88,7 +88,7 @@ apic_intr_string(void *v, pci_intr_handle_t ih)
void *
apic_intr_establish(void *v, pci_intr_handle_t ih,
- int pri, int (*handler)(void *), void *arg, char *name)
+ int pri, int (*handler)(void *), void *arg, const char *name)
{
/* struct elroy_softc *sc = v; */
/* volatile struct elroy_regs *r = sc->sc_regs; */
diff --git a/sys/arch/hppa64/dev/elroyvar.h b/sys/arch/hppa64/dev/elroyvar.h
index 3a4fcd35ae5..7a319483d07 100644
--- a/sys/arch/hppa64/dev/elroyvar.h
+++ b/sys/arch/hppa64/dev/elroyvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: elroyvar.h,v 1.2 2008/04/20 18:41:45 kettenis Exp $ */
+/* $OpenBSD: elroyvar.h,v 1.3 2009/08/22 02:54:50 mk Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -50,7 +50,7 @@ int apic_intr(void *v);
int apic_intr_map(struct pci_attach_args *pa, pci_intr_handle_t *ihp);
const char *apic_intr_string(void *v, pci_intr_handle_t ih);
void *apic_intr_establish(void *v, pci_intr_handle_t ih, int pri,
- int (*handler)(void *), void *arg, char *name);
+ int (*handler)(void *), void *arg, const char *name);
void apic_intr_disestablish(void *v, void *cookie);
void elroy_write32(volatile u_int32_t *p, u_int32_t v);