summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm/s3c2xx0/sscom.c4
-rw-r--r--sys/arch/arm/s3c2xx0/sscom_var.h4
-rw-r--r--sys/arch/macppc/dev/if_wi_obio.c6
-rw-r--r--sys/arch/macppc/dev/tpms.c6
4 files changed, 10 insertions, 10 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 *);
diff --git a/sys/arch/macppc/dev/if_wi_obio.c b/sys/arch/macppc/dev/if_wi_obio.c
index 3663d52b169..98100cd830e 100644
--- a/sys/arch/macppc/dev/if_wi_obio.c
+++ b/sys/arch/macppc/dev/if_wi_obio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_obio.c,v 1.15 2006/06/19 22:42:33 miod Exp $ */
+/* $OpenBSD: if_wi_obio.c,v 1.16 2009/10/13 19:33:16 pirofti Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -75,7 +75,7 @@
int wi_obio_match(struct device *, void *, void *);
void wi_obio_attach(struct device *, struct device *, void *);
int wi_obio_detach(struct device *, int);
-int wi_obio_activate(struct device *, enum devact);
+int wi_obio_activate(struct device *, int);
void wi_obio_attach(struct device *, struct device *, void *);
int wi_obio_enable(struct wi_softc *sc);
void wi_obio_disable(struct wi_softc *sc);
@@ -161,7 +161,7 @@ wi_obio_detach(dev, flags)
int
wi_obio_activate(dev, act)
struct device *dev;
- enum devact act;
+ int act;
{
struct wi_obio_softc *psc = (struct wi_obio_softc *)dev;
struct wi_softc *sc = &psc->sc_wi;
diff --git a/sys/arch/macppc/dev/tpms.c b/sys/arch/macppc/dev/tpms.c
index 13be917e32b..fad1671b045 100644
--- a/sys/arch/macppc/dev/tpms.c
+++ b/sys/arch/macppc/dev/tpms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tpms.c,v 1.13 2009/03/08 14:10:08 robert Exp $ */
+/* $OpenBSD: tpms.c,v 1.14 2009/10/13 19:33:16 pirofti Exp $ */
/*
* Copyright (c) 2005, Johan Wallén
@@ -271,7 +271,7 @@ const struct wsmouse_accessops tpms_accessops = {
int tpms_match(struct device *, void *, void *);
void tpms_attach(struct device *, struct device *, void *);
int tpms_detach(struct device *, int);
-int tpms_activate(struct device *, enum devact);
+int tpms_activate(struct device *, int);
struct cfdriver tpms_cd = {
NULL, "tpms", DV_DULL
@@ -403,7 +403,7 @@ tpms_detach(struct device *self, int flags)
/* Activate the device. */
int
-tpms_activate(struct device *self, enum devact act)
+tpms_activate(struct device *self, int act)
{
struct tpms_softc *sc = (struct tpms_softc *)self;
int ret;