Module Name:    src
Committed By:   phx
Date:           Wed Jan 12 18:05:18 UTC 2011

Modified Files:
        src/sys/dev/i2c: motoi2cvar.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/motoi2cvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/i2c/motoi2cvar.h
diff -u src/sys/dev/i2c/motoi2cvar.h:1.2 src/sys/dev/i2c/motoi2cvar.h:1.3
--- src/sys/dev/i2c/motoi2cvar.h:1.2	Tue Jan  4 02:50:08 2011
+++ src/sys/dev/i2c/motoi2cvar.h	Wed Jan 12 18:05:18 2011
@@ -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);

Reply via email to