summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus/dev
diff options
context:
space:
mode:
authorDimitry Andric <dim@cvs.openbsd.org>2006-12-12 23:14:29 +0000
committerDimitry Andric <dim@cvs.openbsd.org>2006-12-12 23:14:29 +0000
commit1c2fd965cf1531278e01bc91beaa67624286988c (patch)
treed401479d5ccf18380f5057cd0a4b6e8135bdb23b /sys/arch/zaurus/dev
parentcd866cbd96c21d51b3fa4c3d76d66a7e899f7b80 (diff)
Complete gwk's previous patch to stop setperf methods from returning
errors to userland: make all cpu_setperf functions return void. Tested by many, ok gwk@
Diffstat (limited to 'sys/arch/zaurus/dev')
-rw-r--r--sys/arch/zaurus/dev/zaurus_apm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_apm.c b/sys/arch/zaurus/dev/zaurus_apm.c
index b70bd2be11a..18049edf1cb 100644
--- a/sys/arch/zaurus/dev/zaurus_apm.c
+++ b/sys/arch/zaurus/dev/zaurus_apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zaurus_apm.c,v 1.12 2005/12/22 00:38:48 deraadt Exp $ */
+/* $OpenBSD: zaurus_apm.c,v 1.13 2006/12/12 23:14:28 dim Exp $ */
/*
* Copyright (c) 2005 Uwe Stuehler <uwe@bsdx.de>
@@ -147,7 +147,7 @@ int zapm_get_event(struct pxa2x0_apm_softc *, u_int *);
void zapm_power_info(struct pxa2x0_apm_softc *, struct apm_power_info *);
void zapm_suspend(struct pxa2x0_apm_softc *);
int zapm_resume(struct pxa2x0_apm_softc *);
-int pxa2x0_setperf(int);
+void pxa2x0_setperf(int);
int pxa2x0_cpuspeed(int *);