Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/algor/pci Fix fallout of pci_attach_args constifica...



details:   https://anonhg.NetBSD.org/src/rev/092a47046860
branches:  trunk
changeset: 763866:092a47046860
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed Apr 06 01:37:59 2011 +0000

description:
Fix fallout of pci_attach_args constification.  This should be the last
one for algor.

diffstat:

 sys/arch/algor/pci/pciide_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4b5ebce16744 -r 092a47046860 sys/arch/algor/pci/pciide_machdep.c
--- a/sys/arch/algor/pci/pciide_machdep.c       Wed Apr 06 01:32:06 2011 +0000
+++ b/sys/arch/algor/pci/pciide_machdep.c       Wed Apr 06 01:37:59 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pciide_machdep.c,v 1.3 2008/03/18 20:46:35 cube Exp $  */
+/*     $NetBSD: pciide_machdep.c,v 1.4 2011/04/06 01:37:59 dyoung Exp $        */
 
 /*
  * Copyright (c) 1998 Christopher G. Demetriou.  All rights reserved.
@@ -42,7 +42,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.3 2008/03/18 20:46:35 cube Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.4 2011/04/06 01:37:59 dyoung Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -57,7 +57,7 @@
 
 void *
 pciide_machdep_compat_intr_establish(device_t dev,
-    struct pci_attach_args *pa, int chan, int (*func)(void *), void *arg)
+    const struct pci_attach_args *pa, int chan, int (*func)(void *), void *arg)
 {
        pci_chipset_tag_t pc = pa->pa_pc;
 



Home | Main Index | Thread Index | Old Index