diff options
author | 2003-06-24 22:55:43 +0000 | |
---|---|---|
committer | 2003-06-24 22:55:43 +0000 | |
commit | af2f5a8fe98509f8b17396fe315d1fa4016f3ff2 (patch) | |
tree | 163f5e52bdf93939eb43398faac01079a5ed01a3 | |
parent | io_alloc must provide working bus_space tag and handles... (diff) | |
download | wireguard-openbsd-af2f5a8fe98509f8b17396fe315d1fa4016f3ff2.tar.xz wireguard-openbsd-af2f5a8fe98509f8b17396fe315d1fa4016f3ff2.zip |
... and it must compile, too. Doh.
-rw-r--r-- | sys/arch/sparc/dev/ts102.c | 4 |
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 |