Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Define struct i...



details:   https://anonhg.NetBSD.org/src/rev/7b5f4cc963fa
branches:  riastradh-drm2
changeset: 788022:7b5f4cc963fa
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 01:52:39 2013 +0000

description:
Define struct i2c_adapter as a device_t wrapper in <linux/i2c.h>.

diffstat:

 sys/external/bsd/drm2/include/linux/i2c.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 26831b3fb24c -r 7b5f4cc963fa sys/external/bsd/drm2/include/linux/i2c.h
--- a/sys/external/bsd/drm2/include/linux/i2c.h Wed Jul 24 01:52:24 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/i2c.h Wed Jul 24 01:52:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i2c.h,v 1.1.2.1 2013/07/24 00:33:12 riastradh Exp $    */
+/*     $NetBSD: i2c.h,v 1.1.2.2 2013/07/24 01:52:39 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,4 +32,10 @@
 #ifndef _LINUX_I2C_H_
 #define _LINUX_I2C_H_
 
+#include <sys/device_if.h>
+
+struct i2c_adapter {
+       device_t ia_dev;
+};
+
 #endif  /* _LINUX_I2C_H_ */



Home | Main Index | Thread Index | Old Index