Module Name: src Committed By: christos Date: Sat Jan 2 02:37:09 UTC 2010
Modified Files: src/sys/dev/isa: ym.c Log Message: make rhis compile. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/dev/isa/ym.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/isa/ym.c diff -u src/sys/dev/isa/ym.c:1.36 src/sys/dev/isa/ym.c:1.37 --- src/sys/dev/isa/ym.c:1.36 Fri Jan 1 20:42:49 2010 +++ src/sys/dev/isa/ym.c Fri Jan 1 21:37:08 2010 @@ -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 @@ 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_chip_powerdown(sc); splx(s); return true; +} static bool ym_resume(device_t self PMF_FN_ARGS) @@ -1151,7 +1150,6 @@ int i, xmax; int s; - sc = v; DPRINTF(("%s: ym_power_hook: resume\n", DVNAME(sc))); s = splaudio();