summaryrefslogtreecommitdiffstats
path: root/sys/arm/mv/twsi.c
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2009-06-11 17:05:13 +0000
committeravg <avg@FreeBSD.org>2009-06-11 17:05:13 +0000
commit024c4eba43a8a34a3560a0b7c3940af183d2af02 (patch)
tree56a0a576d5d8acd1d4a406a14b9a08c6696fca8e /sys/arm/mv/twsi.c
parent6d656f36a91e3bdb3e3891ae843e20a6ad5cd888 (diff)
downloadFreeBSD-src-024c4eba43a8a34a3560a0b7c3940af183d2af02.zip
FreeBSD-src-024c4eba43a8a34a3560a0b7c3940af183d2af02.tar.gz
strict kobj signatures: number of fixes for arm architecture
no functional changes should result Reviewed by: imp, current@ Approved by: jhb (mentor)
Diffstat (limited to 'sys/arm/mv/twsi.c')
-rw-r--r--sys/arm/mv/twsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/mv/twsi.c b/sys/arm/mv/twsi.c
index 15ec415..8c745b4 100644
--- a/sys/arm/mv/twsi.c
+++ b/sys/arm/mv/twsi.c
@@ -117,7 +117,7 @@ static int mv_twsi_start(device_t dev, u_char slave, int timeout);
static int mv_twsi_stop(device_t dev);
static int mv_twsi_read(device_t dev, char *buf, int len, int *read, int last,
int delay);
-static int mv_twsi_write(device_t dev, char *buf, int len, int *sent,
+static int mv_twsi_write(device_t dev, const char *buf, int len, int *sent,
int timeout);
static struct resource_spec res_spec[] = {
@@ -488,7 +488,7 @@ out:
}
static int
-mv_twsi_write(device_t dev, char *buf, int len, int *sent, int timeout)
+mv_twsi_write(device_t dev, const char *buf, int len, int *sent, int timeout)
{
struct mv_twsi_softc *sc;
uint32_t status;
OpenPOWER on IntegriCloud