diff options
author | imp <imp@FreeBSD.org> | 2009-02-10 22:50:23 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-02-10 22:50:23 +0000 |
commit | 201a4a90d948358e0fdb27dd3e38a39efeb7a441 (patch) | |
tree | 4d768d20e58e3c0291b3dcf61a29f379c573cec7 /sys/dev/iicbus/iicbb.c | |
parent | 474c2e23d28bea2463bd969ecbf9f9fbb0fa03f3 (diff) | |
download | FreeBSD-src-201a4a90d948358e0fdb27dd3e38a39efeb7a441.zip FreeBSD-src-201a4a90d948358e0fdb27dd3e38a39efeb7a441.tar.gz |
Fix iicbus_intr, iicbus_write and device_read_ivar prototypes...
Diffstat (limited to 'sys/dev/iicbus/iicbb.c')
-rw-r--r-- | sys/dev/iicbus/iicbb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iicbus/iicbb.c b/sys/dev/iicbus/iicbb.c index f0d4c2f..2bc6321 100644 --- a/sys/dev/iicbus/iicbb.c +++ b/sys/dev/iicbus/iicbb.c @@ -72,7 +72,7 @@ static int iicbb_probe(device_t); static int iicbb_callback(device_t, int, caddr_t); static int iicbb_start(device_t, u_char, int); static int iicbb_stop(device_t); -static int iicbb_write(device_t, char *, int, int *, int); +static int iicbb_write(device_t, const char *, int, int *, int); static int iicbb_read(device_t, char *, int, int *, int, int); static int iicbb_reset(device_t, u_char, u_char, u_char *); @@ -372,7 +372,7 @@ iicbb_stop(device_t dev) } static int -iicbb_write(device_t dev, char * buf, int len, int *sent, int timeout) +iicbb_write(device_t dev, const char *buf, int len, int *sent, int timeout) { int bytes, error = 0; |