Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117175
b: refs/heads/master
c: 08e5338
h: refs/heads/master
i:
  117173: 1f5bde6
  117171: 63ae934
  117167: 8f1deb5
v: v3
  • Loading branch information
David Miller authored and Jean Delvare committed Oct 22, 2008
1 parent fabdf91 commit 013176c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 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: c429a247f56d277f12eaffd6525922353e9539a5
refs/heads/master: 08e5338d119daeb3c7746fa80fa916b8d3d48e89
2 changes: 1 addition & 1 deletion trunk/drivers/i2c/algos/i2c-algo-pcf.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static int wait_for_pin(struct i2c_algo_pcf_data *adap, int *status) {
*status = get_pcf(adap, 1);
#ifndef STUB_I2C
while (timeout-- && (*status & I2C_PCF_PIN)) {
adap->waitforpin();
adap->waitforpin(adap->data);
*status = get_pcf(adap, 1);
}
if (*status & I2C_PCF_LAB) {
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/i2c/busses/i2c-elektor.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ static int pcf_isa_getclock(void *data)
return (clock);
}

static void pcf_isa_waitforpin(void) {
static void pcf_isa_waitforpin(void *data)
{
DEFINE_WAIT(wait);
int timeout = 2;
unsigned long flags;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/i2c-algo-pcf.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct i2c_algo_pcf_data {
int (*getpcf) (void *data, int ctl);
int (*getown) (void *data);
int (*getclock) (void *data);
void (*waitforpin) (void);
void (*waitforpin) (void *data);

/* Multi-master lost arbitration back-off delay (msecs)
* This should be set by the bus adapter or knowledgable client
Expand Down

0 comments on commit 013176c

Please sign in to comment.