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/socppc | |
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/socppc')
-rw-r--r-- | sys/arch/socppc/dev/socpcic.c | 6 |
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)); } |