diff options
author | imp <imp@FreeBSD.org> | 2009-03-12 06:32:30 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-03-12 06:32:30 +0000 |
commit | 6c0b50dabdbf0fc39deb3630771034da57abb9c3 (patch) | |
tree | 181583e24b3d19afc1063e25c06558689b16cac0 | |
parent | e114ded79445d73746b39faa847cfb84b43c85ab (diff) | |
download | FreeBSD-src-6c0b50dabdbf0fc39deb3630771034da57abb9c3.zip FreeBSD-src-6c0b50dabdbf0fc39deb3630771034da57abb9c3.tar.gz |
Make the bit-bang callbacks for i2c implementation match their prototypes.
-rw-r--r-- | sys/dev/ppbus/lpbb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ppbus/lpbb.c b/sys/dev/ppbus/lpbb.c index 872db24..6cf747e 100644 --- a/sys/dev/ppbus/lpbb.c +++ b/sys/dev/ppbus/lpbb.c @@ -93,7 +93,7 @@ lpbb_attach(device_t dev) } static int -lpbb_callback(device_t dev, int index, caddr_t *data) +lpbb_callback(device_t dev, int index, caddr_t data) { device_t ppbus = device_get_parent(dev); int error = 0; @@ -165,7 +165,7 @@ lpbb_getsda(device_t dev) } static void -lpbb_setsda(device_t dev, char val) +lpbb_setsda(device_t dev, int val) { device_t ppbus = device_get_parent(dev); @@ -178,7 +178,7 @@ lpbb_setsda(device_t dev, char val) } static void -lpbb_setscl(device_t dev, unsigned char val) +lpbb_setscl(device_t dev, int val) { device_t ppbus = device_get_parent(dev); |