Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73831
b: refs/heads/master
c: 5e31c2b
h: refs/heads/master
i:
  73829: 0583069
  73827: 17157c0
  73823: b82b04c
v: v3
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Nov 15, 2007
1 parent c30ece7 commit 0edfe76
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bd4217d8c6ef48425c8d6b28d2e089a83e01af04
refs/heads/master: 5e31c2bd3c865f8f474811340182795396b99696
3 changes: 1 addition & 2 deletions trunk/drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ static int __i2c_check_addr(struct i2c_adapter *adapter, unsigned int addr)
return 0;
}

int i2c_check_addr(struct i2c_adapter *adapter, int addr)
static int i2c_check_addr(struct i2c_adapter *adapter, int addr)
{
int rval;

Expand All @@ -683,7 +683,6 @@ int i2c_check_addr(struct i2c_adapter *adapter, int addr)

return rval;
}
EXPORT_SYMBOL(i2c_check_addr);

int i2c_attach_client(struct i2c_client *client)
{
Expand Down
5 changes: 0 additions & 5 deletions trunk/include/linux/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0edfe76

Please sign in to comment.