Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/dreamcast fix build failure on dreamcast.



details:   https://anonhg.NetBSD.org/src/rev/df11efbe66ff
branches:  trunk
changeset: 811322:df11efbe66ff
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Fri Oct 23 08:40:08 2015 +0000

description:
fix build failure on dreamcast.

diffstat:

 sys/arch/dreamcast/dev/g2/gapspci_pci.c  |  8 ++++----
 sys/arch/dreamcast/include/pci_machdep.h |  4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 0135abb34fbf -r df11efbe66ff sys/arch/dreamcast/dev/g2/gapspci_pci.c
--- a/sys/arch/dreamcast/dev/g2/gapspci_pci.c   Fri Oct 23 01:58:43 2015 +0000
+++ b/sys/arch/dreamcast/dev/g2/gapspci_pci.c   Fri Oct 23 08:40:08 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gapspci_pci.c,v 1.16 2015/10/02 05:22:50 msaitoh Exp $ */
+/*     $NetBSD: gapspci_pci.c,v 1.17 2015/10/23 08:40:08 knakahara Exp $       */
 
 /*-
  * Copyright (c) 2001 Marcus Comstedt.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: gapspci_pci.c,v 1.16 2015/10/02 05:22:50 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gapspci_pci.c,v 1.17 2015/10/23 08:40:08 knakahara Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -62,7 +62,7 @@
 pcireg_t       gaps_conf_read(void *, pcitag_t, int);
 void           gaps_conf_write(void *, pcitag_t, int, pcireg_t);
 
-int            gaps_intr_map(struct pci_attach_args *, pci_intr_handle_t *);
+int            gaps_intr_map(const struct pci_attach_args *, pci_intr_handle_t *);
 const char     *gaps_intr_string(void *, pci_intr_handle_t,
                    char *buf, size_t len);
 void           *gaps_intr_establish(void *, pci_intr_handle_t,
@@ -195,7 +195,7 @@
 }
 
 int
-gaps_intr_map(struct pci_attach_args *pa, pci_intr_handle_t *ihp)
+gaps_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *ihp)
 {
 
        *ihp = SYSASIC_EVENT_EXT;
diff -r 0135abb34fbf -r df11efbe66ff sys/arch/dreamcast/include/pci_machdep.h
--- a/sys/arch/dreamcast/include/pci_machdep.h  Fri Oct 23 01:58:43 2015 +0000
+++ b/sys/arch/dreamcast/include/pci_machdep.h  Fri Oct 23 08:40:08 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep.h,v 1.8 2014/03/29 19:28:27 christos Exp $ */
+/*     $NetBSD: pci_machdep.h,v 1.9 2015/10/23 08:40:08 knakahara Exp $        */
 
 /*-
  * Copyright (c) 2001 Marcus Comstedt
@@ -65,7 +65,7 @@
 
        void            *pc_intr_v;
 
-       int             (*pc_intr_map)(struct pci_attach_args *,
+       int             (*pc_intr_map)(const struct pci_attach_args *,
                            pci_intr_handle_t *);
        const char      *(*pc_intr_string)(void *, pci_intr_handle_t,
                            char *, size_t);



Home | Main Index | Thread Index | Old Index