aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2009-03-12 06:32:30 +0000
committerWarner Losh <imp@FreeBSD.org>2009-03-12 06:32:30 +0000
commit34a53f3f6bc090ffa49fb8c232324c1118087a71 (patch)
tree181583e24b3d19afc1063e25c06558689b16cac0 /sys/dev/ppbus
parentaef30cdbf53f32930da68890b827ead2d54062cb (diff)
Notes
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 872db24eaea1..6cf747e2b6aa 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);