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/amd64/pci | |
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/amd64/pci')
-rw-r--r-- | sys/arch/amd64/pci/pci_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/pci/pci_machdep.c b/sys/arch/amd64/pci/pci_machdep.c index 1d78b000998..554c6e9d72d 100644 --- a/sys/arch/amd64/pci/pci_machdep.c +++ b/sys/arch/amd64/pci/pci_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.c,v 1.30 2009/07/20 23:40:43 miod Exp $ */ +/* $OpenBSD: pci_machdep.c,v 1.31 2009/08/22 02:54:50 mk Exp $ */ /* $NetBSD: pci_machdep.c,v 1.3 2003/05/07 21:33:58 fvdl Exp $ */ /*- @@ -326,7 +326,7 @@ void acpiprt_route_interrupt(int bus, int dev, int pin); void * pci_intr_establish(pci_chipset_tag_t pc, pci_intr_handle_t ih, int level, - int (*func)(void *), void *arg, char *what) + int (*func)(void *), void *arg, const char *what) { int pin, irq; int bus, dev; |