diff options
| author | christos <christos@NetBSD.org> | 2010-01-02 02:37:08 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2010-01-02 02:37:08 +0000 |
| commit | 0fbbcee76fcc134e32a1412f3ad1ccd3c98f8311 (patch) | |
| tree | a00b9396d1cd90d3584a1425e575f27bd50cc4bc /sys/dev | |
| parent | 641f5484f1b0c49cc855cf41a5e031b3401ff48a (diff) | |
make rhis compile.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/isa/ym.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/isa/ym.c b/sys/dev/isa/ym.c index 109a4ccdb39..1c83d9ec264 100644 --- a/sys/dev/isa/ym.c +++ b/sys/dev/isa/ym.c @@ -1,4 +1,4 @@ -/* $NetBSD: ym.c,v 1.36 2010/01/02 01:42:49 christos Exp $ */ +/* $NetBSD: ym.c,v 1.37 2010/01/02 02:37:08 christos Exp $ */ /*- * Copyright (c) 1999-2002 The NetBSD Foundation, Inc. @@ -60,7 +60,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ym.c,v 1.36 2010/01/02 01:42:49 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ym.c,v 1.37 2010/01/02 02:37:08 christos Exp $"); #include "mpu_ym.h" #include "opt_ym.h" @@ -1110,10 +1110,8 @@ static bool ym_suspend(device_t self PMF_FN_ARGS) { struct ym_softc *sc = device_private(self); - int i, xmax; int s; - sc = v; DPRINTF(("%s: ym_power_hook: suspend\n", DVNAME(sc))); s = splaudio(); @@ -1143,6 +1141,7 @@ ym_suspend(device_t self PMF_FN_ARGS) ym_chip_powerdown(sc); splx(s); return true; +} static bool ym_resume(device_t self PMF_FN_ARGS) @@ -1151,7 +1150,6 @@ ym_resume(device_t self PMF_FN_ARGS) int i, xmax; int s; - sc = v; DPRINTF(("%s: ym_power_hook: resume\n", DVNAME(sc))); s = splaudio(); |
