diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-11-26 18:10:53 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-11-26 18:10:53 +0000 |
commit | 67cf48190f179dd33306bf75a31c0e10d1d0a81c (patch) | |
tree | 8a962c3968a9f8e3225b50922c7d6c709d771c7f /sys/dev/pci/autrivar.h | |
parent | 33b0aaaf67c75ef3528285b8466657e39b03ed09 (diff) |
remove static on functions.
from netbsd:
Don't use a static variable in the power hook. It doesn't work with more
than one device.
Diffstat (limited to 'sys/dev/pci/autrivar.h')
-rw-r--r-- | sys/dev/pci/autrivar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/autrivar.h b/sys/dev/pci/autrivar.h index db977826207..f7f3aa3d2d2 100644 --- a/sys/dev/pci/autrivar.h +++ b/sys/dev/pci/autrivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autrivar.h,v 1.1 2001/11/26 16:38:38 mickey Exp $ */ +/* $OpenBSD: autrivar.h,v 1.2 2001/11/26 18:10:52 mickey Exp $ */ /* * Copyright (c) 2001 SOMEYA Yoshihiko and KUROSAWA Takahiro. @@ -86,6 +86,8 @@ struct autri_softc { u_int32_t sc_class; int sc_revision; + int sc_old_power; + /* * Play/record status */ |