diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-24 22:43:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-24 22:43:20 +0000 |
commit | 1b1b775efbf1ce5de10a4e90ce6f1b8fef11cf6d (patch) | |
tree | 8f11d2dab7028064b566ebe83b7f71890c6f1224 /sys/arch/mvme68k/dev/sshdma.c | |
parent | 3b6fc494d6c3ea81b031d03cd56c0569869c875f (diff) |
Prefer vaddr_t and paddr_t types in device softc, instead of void * and
heavy casts. Improves readability, no functional change.
Diffstat (limited to 'sys/arch/mvme68k/dev/sshdma.c')
-rw-r--r-- | sys/arch/mvme68k/dev/sshdma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/sshdma.c b/sys/arch/mvme68k/dev/sshdma.c index 2d14a9fc8c3..82970a76da8 100644 --- a/sys/arch/mvme68k/dev/sshdma.c +++ b/sys/arch/mvme68k/dev/sshdma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshdma.c,v 1.11 2004/07/30 22:29:45 miod Exp $ */ +/* $OpenBSD: sshdma.c,v 1.12 2005/11/24 22:43:16 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -106,7 +106,7 @@ void *auxp; int tmp; extern int cpuspeed; - sc->sc_sshp = rp = ca->ca_vaddr; + sc->sc_sshp = rp = (void *)ca->ca_vaddr; /* * ssh uses sc_clock_freq to define the dcntl & ctest7 reg values * (was 0x0221, but i added SSH_CTEST7_SC0 for snooping control) |