diff options
| author | itohy <itohy@NetBSD.org> | 2006-06-04 11:49:02 +0000 |
|---|---|---|
| committer | itohy <itohy@NetBSD.org> | 2006-06-04 11:49:02 +0000 |
| commit | 90ed6f0bd7b7b90bc4caee028eddecaf9cb5e3d6 (patch) | |
| tree | 9e0e4e31ae76f965529ebdc3528f7ed943daa72e /sys/dev | |
| parent | 77b9fb02b92596a76a2070a1894dfe4b719a226f (diff) | |
Make compile by gcc 2.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/cardbus/cardbus_map.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/cardbus/cardbus_map.c b/sys/dev/cardbus/cardbus_map.c index 985691d4a76..f6d7298b193 100644 --- a/sys/dev/cardbus/cardbus_map.c +++ b/sys/dev/cardbus/cardbus_map.c @@ -1,4 +1,4 @@ -/* $NetBSD: cardbus_map.c,v 1.21 2006/05/11 23:54:39 mrg Exp $ */ +/* $NetBSD: cardbus_map.c,v 1.22 2006/06/04 11:49:02 itohy Exp $ */ /* * Copyright (c) 1999 and 2000 @@ -33,7 +33,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cardbus_map.c,v 1.21 2006/05/11 23:54:39 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cardbus_map.c,v 1.22 2006/06/04 11:49:02 itohy Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -260,11 +260,12 @@ cardbus_mapreg_map(sc, func, reg, type, busflags, tagp, handlep, basep, sizep) bus_size_t size; int flags; int status = 0; + cardbustag_t tag; size = 0; /* XXX gcc */ flags = 0; /* XXX gcc */ - cardbustag_t tag = cardbus_make_tag(cc, cf, sc->sc_bus, func); + tag = cardbus_make_tag(cc, cf, sc->sc_bus, func); DPRINTF(("cardbus_mapreg_map called: %s %x\n", sc->sc_dev.dv_xname, type)); |
