summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-05-12 10:02:43 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-05-12 10:02:43 +0000
commit7ad733a8346d0ffc21ee0308ff878ea1004455dd (patch)
tree5ec1c67c5d5994134eb86d5a507bd4d9da5a0c2e /sys/dev/pci
parent8d8b19f8aeed870822f670f3c2021ad9dfb093ed (diff)
Make this compile again.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_tht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_tht.c b/sys/dev/pci/if_tht.c
index aada17fe84a..3adeb546d57 100644
--- a/sys/dev/pci/if_tht.c
+++ b/sys/dev/pci/if_tht.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tht.c,v 1.115 2008/05/12 06:59:19 canacar Exp $ */
+/* $OpenBSD: if_tht.c,v 1.116 2008/05/12 10:02:42 kettenis Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -1736,7 +1736,7 @@ tht_fw_load(struct tht_softc *sc)
buf += wrlen;
}
- timeout_set(&ticker, tht_fw_tick, &ok);
+ timeout_set(&ticker, tht_fw_tick, (void *)&ok);
timeout_add(&ticker, 2*hz);
while (ok) {
if (tht_read(sc, THT_REG_INIT_STATUS) != 0) {