diff options
author | David Miller <davem@davemloft.net> | 2008-10-22 20:21:29 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2008-10-22 20:21:29 +0200 |
commit | 08e5338d119daeb3c7746fa80fa916b8d3d48e89 (patch) | |
tree | 5a4b1985b4c9d3741d01f574de458bb0fd30084f /drivers/i2c/busses/i2c-elektor.c | |
parent | i2c-i801: Add support for Intel Ibex Peak (diff) | |
download | linux-08e5338d119daeb3c7746fa80fa916b8d3d48e89.tar.xz linux-08e5338d119daeb3c7746fa80fa916b8d3d48e89.zip |
i2c-algo-pcf: Pass adapter data into ->waitforpin() method
Pass adapter data into ->waitforpin() method.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-elektor.c')
-rw-r--r-- | drivers/i2c/busses/i2c-elektor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-elektor.c b/drivers/i2c/busses/i2c-elektor.c index 7f38c01fb3a0..0ed3ccb81b63 100644 --- a/drivers/i2c/busses/i2c-elektor.c +++ b/drivers/i2c/busses/i2c-elektor.c @@ -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; |