summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-03-12 06:32:30 +0000
committerimp <imp@FreeBSD.org>2009-03-12 06:32:30 +0000
commit6c0b50dabdbf0fc39deb3630771034da57abb9c3 (patch)
tree181583e24b3d19afc1063e25c06558689b16cac0 /sys/dev/ppbus
parente114ded79445d73746b39faa847cfb84b43c85ab (diff)
downloadFreeBSD-src-6c0b50dabdbf0fc39deb3630771034da57abb9c3.zip
FreeBSD-src-6c0b50dabdbf0fc39deb3630771034da57abb9c3.tar.gz
Make the bit-bang callbacks for i2c implementation match their prototypes.
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r--sys/dev/ppbus/lpbb.c6
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);
OpenPOWER on IntegriCloud