summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2010-02-16 00:05:24 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2010-02-16 00:05:24 +0000
commit9c1d6cb9a2c774e725aa8925053895b0fa43e4d1 (patch)
treee982e707da7cf8d26cc49b23fea3a03ddd9eed06 /sys/dev
parentdcee9e694056fe3401c58de69b8c555a891c1496 (diff)
Use i2c_addr_t as the type for the init_xfer function because this
is what the function pointer type uses. ok grange
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/gscsio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/gscsio.c b/sys/dev/isa/gscsio.c
index 9f583fe365c..944d7de26c2 100644
--- a/sys/dev/isa/gscsio.c
+++ b/sys/dev/isa/gscsio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gscsio.c,v 1.11 2009/06/02 12:12:35 grange Exp $ */
+/* $OpenBSD: gscsio.c,v 1.12 2010/02/16 00:05:23 mk Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
*
@@ -78,7 +78,7 @@ int gscsio_acb_acquire_bus(void *, int);
void gscsio_acb_release_bus(void *, int);
int gscsio_acb_send_start(void *, int);
int gscsio_acb_send_stop(void *, int);
-int gscsio_acb_initiate_xfer(void *, uint16_t, int);
+int gscsio_acb_initiate_xfer(void *, i2c_addr_t, int);
int gscsio_acb_read_byte(void *, uint8_t *, int);
int gscsio_acb_write_byte(void *, uint8_t, int);
@@ -364,7 +364,7 @@ gscsio_acb_send_stop(void *cookie, int flags)
}
int
-gscsio_acb_initiate_xfer(void *cookie, uint16_t addr, int flags)
+gscsio_acb_initiate_xfer(void *cookie, i2c_addr_t addr, int flags)
{
struct gscsio_acb *acb = cookie;
struct gscsio_softc *sc = acb->sc;