summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-06-24 22:55:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-06-24 22:55:44 +0000
commit803440472c7b828bbe8987ad340653c565b4e0d1 (patch)
tree36ba4c390ce1e11d4695e55953679c972940e3b0 /sys
parentb085335098212505dad16a6ec6f325053938e057 (diff)
... and it must compile, too. Doh.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/dev/ts102.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/ts102.c b/sys/arch/sparc/dev/ts102.c
index e772c12ac42..678b4a7f119 100644
--- a/sys/arch/sparc/dev/ts102.c
+++ b/sys/arch/sparc/dev/ts102.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ts102.c,v 1.2 2003/06/24 22:54:54 miod Exp $ */
+/* $OpenBSD: ts102.c,v 1.3 2003/06/24 22:55:43 miod Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
*
@@ -374,6 +374,8 @@ int
tslot_io_alloc(pcmcia_chipset_handle_t pch, bus_addr_t start, bus_size_t size,
bus_size_t align, struct pcmcia_io_handle *pih)
{
+ struct tslot_data *td = (struct tslot_data *)pch;
+
#ifdef TSLOT_DEBUG
printf("[io alloc %x]", size);
#endif