summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-02-01 18:06:36 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-02-01 18:06:36 +0000
commitdfad7d515c21e73558487001a331eb040c42dc08 (patch)
tree14d90855317f94bd7adca34393f9abe3af57f59b /sys
parenta4462f01a5f1812d408e29e9ada74a5ecd2dd8bd (diff)
adapt to wscons type changes.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/tga.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/tga.c b/sys/dev/pci/tga.c
index 294e1882318..f95c12018e4 100644
--- a/sys/dev/pci/tga.c
+++ b/sys/dev/pci/tga.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tga.c,v 1.3 2000/10/14 18:04:07 aaron Exp $ */
+/* $OpenBSD: tga.c,v 1.4 2001/02/01 18:06:35 art Exp $ */
/* $NetBSD: tga.c,v 1.15 1999/12/06 19:25:59 drochner Exp $ */
/*
@@ -75,7 +75,7 @@ void tga_getdevconfig __P((bus_space_tag_t memt, pci_chipset_tag_t pc,
struct tga_devconfig tga_console_dc;
int tga_ioctl __P((void *, u_long, caddr_t, int, struct proc *));
-int tga_mmap __P((void *, off_t, int));
+paddr_t tga_mmap __P((void *, off_t, int));
static void tga_copyrows __P((void *, int, int, int));
static void tga_copycols __P((void *, int, int, int, int));
static int tga_alloc_screen __P((void *, const struct wsscreen_descr *,
@@ -520,7 +520,7 @@ tga_intr(v)
return (1);
}
-int
+paddr_t
tga_mmap(v, offset, prot)
void *v;
off_t offset;