Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2c Include i2cvar.h for i2c_controller, which is us...
details: https://anonhg.NetBSD.org/src/rev/f58618895765
branches: trunk
changeset: 760749:f58618895765
user: phx <phx%NetBSD.org@localhost>
date: Wed Jan 12 18:05:18 2011 +0000
description:
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.
diffstat:
sys/dev/i2c/motoi2cvar.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 7c3e820cdd9c -r f58618895765 sys/dev/i2c/motoi2cvar.h
--- a/sys/dev/i2c/motoi2cvar.h Wed Jan 12 17:33:38 2011 +0000
+++ b/sys/dev/i2c/motoi2cvar.h Wed Jan 12 18:05:18 2011 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index