summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-11-15 19:24:02 +0100
committerJean Delvare <khali@hyperion.delvare>2007-11-15 19:24:02 +0100
commit5e31c2bd3c865f8f474811340182795396b99696 (patch)
tree8b9acfcc83ad7373cc01f801de1835bcab8db44e /include/linux/i2c.h
parentbd4217d8c6ef48425c8d6b28d2e089a83e01af04 (diff)
downloadlinux-5e31c2bd3c865f8f474811340182795396b99696.tar.gz
linux-5e31c2bd3c865f8f474811340182795396b99696.tar.bz2
linux-5e31c2bd3c865f8f474811340182795396b99696.zip
i2c: Make i2c_check_addr static
i2c_check_addr is only used inside i2c-core now, so we can make it static and stop exporting it. Thanks to David Brownell for noticing. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r--include/linux/i2c.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 8033e6b33271..a100c9f8eb7c 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -400,11 +400,6 @@ extern int i2c_release_client(struct i2c_client *);
extern void i2c_clients_command(struct i2c_adapter *adap,
unsigned int cmd, void *arg);
-/* returns -EBUSY if address has been taken, 0 if not. Note that the only
- other place at which this is called is within i2c_attach_client; so
- you can cheat by simply not registering. Not recommended, of course! */
-extern int i2c_check_addr (struct i2c_adapter *adapter, int addr);
-
/* Detect function. It iterates over all possible addresses itself.
* It will only call found_proc if some client is connected at the
* specific address (unless a 'force' matched);