diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-11-15 13:24:02 -0500 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-11-15 13:24:02 -0500 |
commit | 5e31c2bd3c865f8f474811340182795396b99696 (patch) | |
tree | 8b9acfcc83ad7373cc01f801de1835bcab8db44e /drivers | |
parent | bd4217d8c6ef48425c8d6b28d2e089a83e01af04 (diff) |
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 'drivers')
-rw-r--r-- | drivers/i2c/i2c-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 1a4e8dc03b36..b5e13e405e72 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c | |||
@@ -673,7 +673,7 @@ static int __i2c_check_addr(struct i2c_adapter *adapter, unsigned int addr) | |||
673 | return 0; | 673 | return 0; |
674 | } | 674 | } |
675 | 675 | ||
676 | int i2c_check_addr(struct i2c_adapter *adapter, int addr) | 676 | static int i2c_check_addr(struct i2c_adapter *adapter, int addr) |
677 | { | 677 | { |
678 | int rval; | 678 | int rval; |
679 | 679 | ||
@@ -683,7 +683,6 @@ int i2c_check_addr(struct i2c_adapter *adapter, int addr) | |||
683 | 683 | ||
684 | return rval; | 684 | return rval; |
685 | } | 685 | } |
686 | EXPORT_SYMBOL(i2c_check_addr); | ||
687 | 686 | ||
688 | int i2c_attach_client(struct i2c_client *client) | 687 | int i2c_attach_client(struct i2c_client *client) |
689 | { | 688 | { |