diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2009-08-22 02:54:52 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2009-08-22 02:54:52 +0000 |
commit | 06e29584d413606b21c240635e12d7500b385ae5 (patch) | |
tree | 5e6f8a395a9c0030fc223059bb7a1b39529330c5 /sys/arch/alpha/pci/pci_6600.c | |
parent | c647754eb2c6d41408fe754bf7167383562e01b1 (diff) |
Constify the what/name parameter of pci_intr_establish().
Tested by myself, sthen, oga, kettenis, and jasper.
Input from sthen and jasper.
ok kettenis
(Manpage follows shortly.)
Diffstat (limited to 'sys/arch/alpha/pci/pci_6600.c')
-rw-r--r-- | sys/arch/alpha/pci/pci_6600.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/pci/pci_6600.c b/sys/arch/alpha/pci/pci_6600.c index 1cc504bc778..6a1c9f7f78b 100644 --- a/sys/arch/alpha/pci/pci_6600.c +++ b/sys/arch/alpha/pci/pci_6600.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_6600.c,v 1.17 2008/07/22 18:45:51 miod Exp $ */ +/* $OpenBSD: pci_6600.c,v 1.18 2009/08/22 02:54:50 mk Exp $ */ /* $NetBSD: pci_6600.c,v 1.5 2000/06/06 00:50:15 thorpej Exp $ */ /*- @@ -78,7 +78,7 @@ static struct tsp_config *sioprimary; void dec_6600_intr_disestablish(void *, void *); void *dec_6600_intr_establish(void *, pci_intr_handle_t, int, - int (*func)(void *), void *, char *); + int (*func)(void *), void *, const char *); const char *dec_6600_intr_string(void *, pci_intr_handle_t); int dec_6600_intr_line(void *, pci_intr_handle_t); int dec_6600_intr_map(struct pci_attach_args *, pci_intr_handle_t *); @@ -219,7 +219,7 @@ dec_6600_intr_establish(acv, ih, level, func, arg, name) pci_intr_handle_t ih; int level; int (*func)(void *); - char *name; + const char *name; { void *cookie; |