Commit a97f1ed0 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare

i2c: Move i2c-isa-only exported symbol declarations

Move the declaration of i2c-isa-only exported symbols to i2c-isa
itself, that's the best way to ensure nobody will attempt to use them.
Hopefully we'll get rid of the exports themselves soon anyway.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent ce9e0794
...@@ -41,6 +41,10 @@ ...@@ -41,6 +41,10 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/completion.h> #include <linux/completion.h>
/* Exported by i2c-core for i2c-isa only */
extern void i2c_adapter_dev_release(struct device *dev);
extern struct class i2c_adapter_class;
static u32 isa_func(struct i2c_adapter *adapter); static u32 isa_func(struct i2c_adapter *adapter);
/* This is the actual algorithm we define */ /* This is the actual algorithm we define */
......
...@@ -35,10 +35,6 @@ ...@@ -35,10 +35,6 @@
#include <linux/sched.h> /* for completion */ #include <linux/sched.h> /* for completion */
#include <linux/mutex.h> #include <linux/mutex.h>
/* --- For i2c-isa ---------------------------------------------------- */
extern void i2c_adapter_dev_release(struct device *dev);
extern struct class i2c_adapter_class;
extern struct bus_type i2c_bus_type; extern struct bus_type i2c_bus_type;
/* --- General options ------------------------------------------------ */ /* --- General options ------------------------------------------------ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment