diff options
author | roger <roger@FreeBSD.org> | 1999-02-06 10:56:09 +0000 |
---|---|---|
committer | roger <roger@FreeBSD.org> | 1999-02-06 10:56:09 +0000 |
commit | db199b3ab42b416fa4153003748266bf6c19e242 (patch) | |
tree | 086c9117646deebc4a102ea48e6bc87fd1f9be8a /sys/dev/iicbus | |
parent | d742c3c52503a8941ead71d7a68cddf07f1e06de (diff) | |
download | FreeBSD-src-db199b3ab42b416fa4153003748266bf6c19e242.zip FreeBSD-src-db199b3ab42b416fa4153003748266bf6c19e242.tar.gz |
Changed to use IICBUS_REPEATED_START
Submitted by: Changed to use IICBUS_REPEATED_START
Diffstat (limited to 'sys/dev/iicbus')
-rw-r--r-- | sys/dev/iicbus/iiconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iicbus/iiconf.c b/sys/dev/iicbus/iiconf.c index 353a207..b84a6cd 100644 --- a/sys/dev/iicbus/iiconf.c +++ b/sys/dev/iicbus/iiconf.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: iiconf.c,v 1.4 1999/01/09 18:08:24 nsouch Exp $ + * $Id: iiconf.c,v 1.5 1999/01/28 15:59:15 roger Exp $ * */ #include <sys/param.h> @@ -209,7 +209,7 @@ iicbus_repeated_start(device_t bus, u_char slave, int timeout) if (!sc->started) return (EINVAL); /* bus should have been already started */ - if (!(error = IICBUS_START(device_get_parent(bus), slave, timeout))) + if (!(error = IICBUS_REPEATED_START(device_get_parent(bus), slave, timeout))) sc->started = slave; else sc->started = 0; |