diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-10-13 19:33:20 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-10-13 19:33:20 +0000 |
commit | 6682179a1c327ebfd5a91e7dc39282434a805c2f (patch) | |
tree | 4d4643ee1beb2ad41f471df273cdcf08291d535b /sys/arch/arm | |
parent | 8120c6ba90a94a5745094b6f232932d0695cae1c (diff) |
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/arch/arm')
-rw-r--r-- | sys/arch/arm/s3c2xx0/sscom.c | 4 | ||||
-rw-r--r-- | sys/arch/arm/s3c2xx0/sscom_var.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/arm/s3c2xx0/sscom.c b/sys/arch/arm/s3c2xx0/sscom.c index 200c3d51177..70069f3a818 100644 --- a/sys/arch/arm/s3c2xx0/sscom.c +++ b/sys/arch/arm/s3c2xx0/sscom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sscom.c,v 1.10 2009/08/02 10:38:32 miod Exp $ */ +/* $OpenBSD: sscom.c,v 1.11 2009/10/13 19:33:16 pirofti Exp $ */ /* $NetBSD: sscom.c,v 1.29 2008/06/11 22:37:21 cegger Exp $ */ /* @@ -541,7 +541,7 @@ sscom_detach(struct device *self, int flags) } int -sscom_activate(struct device *self, enum devact act) +sscom_activate(struct device *self, int act) { #ifdef notyet struct sscom_softc *sc = (struct sscom_softc *)self; diff --git a/sys/arch/arm/s3c2xx0/sscom_var.h b/sys/arch/arm/s3c2xx0/sscom_var.h index 4311fe602c4..d7f6fe9028c 100644 --- a/sys/arch/arm/s3c2xx0/sscom_var.h +++ b/sys/arch/arm/s3c2xx0/sscom_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sscom_var.h,v 1.1 2008/11/26 14:39:14 drahn Exp $ */ +/* $OpenBSD: sscom_var.h,v 1.2 2009/10/13 19:33:16 pirofti Exp $ */ /* $NetBSD: sscom_var.h,v 1.7 2006/03/06 20:21:25 rjs Exp $ */ /* @@ -256,7 +256,7 @@ int sscomspeed(long, long); void sscom_attach_subr(struct sscom_softc *); int sscom_detach(struct device *, int); -int sscom_activate(struct device *, enum devact); +int sscom_activate(struct device *, int); void sscom_shutdown(struct sscom_softc *); void sscomdiag (void *); void sscomstart(struct tty *); |