summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-07-20 23:03:50 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 18:14:09 +0200
commitefde723fdac02111872bff606ef362074fc1efa8 (patch)
tree31e5cff31af33f38dfdcaa65cebd935f2a3f7fdc /include
parent[PATCH] I2C hwmon: add hwmon sysfs class to drivers (diff)
downloadlinux-efde723fdac02111872bff606ef362074fc1efa8.tar.xz
linux-efde723fdac02111872bff606ef362074fc1efa8.zip
[PATCH] I2C: Separate non-i2c hwmon drivers from i2c-core (1/9)
Temporarily export a few structures and functions from i2c-core, because we will soon need them in i2c-isa. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 017445943816..3be06105034c 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -34,6 +34,13 @@
#include <linux/device.h> /* for struct device */
#include <asm/semaphore.h>
+/* --- For i2c-isa ---------------------------------------------------- */
+
+extern void i2c_adapter_dev_release(struct device *dev);
+extern struct device_driver i2c_adapter_driver;
+extern struct class i2c_adapter_class;
+extern struct bus_type i2c_bus_type;
+
/* --- General options ------------------------------------------------ */
struct i2c_msg;