diff options
author | 2009-10-13 19:33:16 +0000 | |
---|---|---|
committer | 2009-10-13 19:33:16 +0000 | |
commit | e78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00 (patch) | |
tree | 73f6f3f25e0bb936b93bd2c0bc42e990ecd3aea6 /sys/dev/usb/uts.c | |
parent | sync (diff) | |
download | wireguard-openbsd-e78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00.tar.xz wireguard-openbsd-e78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00.zip |
Get rid of devact enum, substitute it with an int and coresponding defines.
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
Diffstat (limited to 'sys/dev/usb/uts.c')
-rw-r--r-- | sys/dev/usb/uts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uts.c b/sys/dev/usb/uts.c index 6776a60a4d7..96ee438f69e 100644 --- a/sys/dev/usb/uts.c +++ b/sys/dev/usb/uts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uts.c,v 1.24 2009/02/14 20:05:09 chl Exp $ */ +/* $OpenBSD: uts.c,v 1.25 2009/10/13 19:33:19 pirofti Exp $ */ /* * Copyright (c) 2007 Robert Nagy <robert@openbsd.org> @@ -116,7 +116,7 @@ const struct wsmouse_accessops uts_accessops = { int uts_match(struct device *, void *, void *); void uts_attach(struct device *, struct device *, void *); int uts_detach(struct device *, int); -int uts_activate(struct device *, enum devact); +int uts_activate(struct device *, int); struct cfdriver uts_cd = { NULL, "uts", DV_DULL @@ -248,7 +248,7 @@ uts_detach(struct device *self, int flags) } int -uts_activate(struct device *self, enum devact act) +uts_activate(struct device *self, int act) { struct uts_softc *sc = (struct uts_softc *)self; int rv = 0; |