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/if_url.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/if_url.c')
-rw-r--r-- | sys/dev/usb/if_url.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_url.c b/sys/dev/usb/if_url.c index 9c2dbcc6ec2..503042199e3 100644 --- a/sys/dev/usb/if_url.c +++ b/sys/dev/usb/if_url.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_url.c,v 1.54 2008/11/28 02:44:18 brad Exp $ */ +/* $OpenBSD: if_url.c,v 1.55 2009/10/13 19:33:17 pirofti Exp $ */ /* $NetBSD: if_url.c,v 1.6 2002/09/29 10:19:21 martin Exp $ */ /* * Copyright (c) 2001, 2002 @@ -88,7 +88,7 @@ int url_match(struct device *, void *, void *); void url_attach(struct device *, struct device *, void *); int url_detach(struct device *, int); -int url_activate(struct device *, enum devact); +int url_activate(struct device *, int); struct cfdriver url_cd = { NULL, "url", DV_IFNET @@ -603,7 +603,7 @@ url_reset(struct url_softc *sc) } int -url_activate(struct device *self, enum devact act) +url_activate(struct device *self, int act) { struct url_softc *sc = (struct url_softc *)self; |