Fix fallout of pci_attach_args constification. This should be the last

one for algor.
This commit is contained in:
dyoung 2011-04-06 01:37:59 +00:00
parent 3a4f5f68fa
commit 67ce16669f
1 changed files with 3 additions and 3 deletions

View File

@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: pciide_machdep.c,v 1.3 2008/03/18 20:46:35 cube Exp
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;