Module Name:    src
Committed By:   dyoung
Date:           Wed Apr  6 01:37:59 UTC 2011

Modified Files:
        src/sys/arch/algor/pci: pciide_machdep.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/algor/pci/pciide_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/algor/pci/pciide_machdep.c
diff -u src/sys/arch/algor/pci/pciide_machdep.c:1.3 src/sys/arch/algor/pci/pciide_machdep.c:1.4
--- src/sys/arch/algor/pci/pciide_machdep.c:1.3	Tue Mar 18 20:46:35 2008
+++ src/sys/arch/algor/pci/pciide_machdep.c	Wed Apr  6 01:37:59 2011
@@ -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;
 

Reply via email to