diff --git a/sys/arch/cobalt/dev/gt.c b/sys/arch/cobalt/dev/gt.c index 2ea27c99b4d1..d58e939fd122 100644 --- a/sys/arch/cobalt/dev/gt.c +++ b/sys/arch/cobalt/dev/gt.c @@ -1,4 +1,4 @@ -/* $NetBSD: gt.c,v 1.14 2005/12/11 12:17:06 christos Exp $ */ +/* $NetBSD: gt.c,v 1.15 2006/04/05 15:14:10 tsutsui Exp $ */ /* * Copyright (c) 2000 Soren S. Jorvang. All rights reserved. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.14 2005/12/11 12:17:06 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.15 2006/04/05 15:14:10 tsutsui Exp $"); #include "opt_pci.h" #include "pci.h" @@ -80,21 +80,16 @@ CFATTACH_DECL(gt, sizeof(struct gt_softc), gt_match, gt_attach, NULL, NULL); static int -gt_match(parent, match, aux) - struct device *parent; - struct cfdata *match; - void *aux; +gt_match(struct device *parent, struct cfdata *match, void *aux) { + return 1; } #define GT_REG_REGION 0x1000 static void -gt_attach(parent, self, aux) - struct device *parent; - struct device *self; - void *aux; +gt_attach(struct device *parent, struct device *self, void *aux) { struct mainbus_attach_args *ma = aux; struct gt_softc *sc = (void *)self; @@ -143,10 +138,9 @@ gt_attach(parent, self, aux) } static int -gt_print(aux, pnp) - void *aux; - const char *pnp; +gt_print(void *aux, const char *pnp) { + /* XXX */ return 0; }