summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
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