Include i2cvar.h for i2c_controller, which is usually not needed by devices

using this MI driver, so they shouldn't have to bother with that.
This commit is contained in:
phx 2011-01-12 18:05:18 +00:00
parent dd87ecaaaa
commit 846d34516e

View File

@ -1,4 +1,4 @@
/* $NetBSD: motoi2cvar.h,v 1.2 2011/01/04 02:50:08 nisimura Exp $ */
/* $NetBSD: motoi2cvar.h,v 1.3 2011/01/12 18:05:18 phx Exp $ */
/*-
* Copyright (c) 2007, 2010 The NetBSD Foundation, Inc.
@ -32,6 +32,8 @@
#ifndef _DEV_I2C_MOTOI2CVAR_H_
#define _DEV_I2C_MOTOI2CVAR_H_
#include <dev/i2c/i2cvar.h>
struct motoi2c_softc;
typedef uint8_t (*motoi2c_iord_t)(struct motoi2c_softc *, bus_size_t);
typedef void (*motoi2c_iowr_t)(struct motoi2c_softc *, bus_size_t, uint8_t);