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/scsi/cd.c | |
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/scsi/cd.c')
-rw-r--r-- | sys/scsi/cd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 01feb0726b2..970890d640b 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.149 2009/08/13 15:23:11 deraadt Exp $ */ +/* $OpenBSD: cd.c,v 1.150 2009/10/13 19:33:19 pirofti Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -90,7 +90,7 @@ struct cd_toc { int cdmatch(struct device *, void *, void *); void cdattach(struct device *, struct device *, void *); -int cdactivate(struct device *, enum devact); +int cdactivate(struct device *, int); int cddetach(struct device *, int); void cdstart(void *); @@ -224,7 +224,7 @@ cdattach(struct device *parent, struct device *self, void *aux) int -cdactivate(struct device *self, enum devact act) +cdactivate(struct device *self, int act) { int rv = 0; |