Skip to content

Commit

Permalink
i2c: Move i2c-isa-only exported symbol declarations
Browse files Browse the repository at this point in the history
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: Jean Delvare <khali@linux-fr.org>
  • Loading branch information
Jean Delvare authored and Jean Delvare committed May 1, 2007
1 parent ce9e079 commit a97f1ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions drivers/i2c/busses/i2c-isa.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
#include <linux/platform_device.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);

/* This is the actual algorithm we define */
Expand Down
4 changes: 0 additions & 4 deletions include/linux/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
#include <linux/sched.h> /* for completion */
#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;

/* --- General options ------------------------------------------------ */
Expand Down

0 comments on commit a97f1ed

Please sign in to comment.