summaryrefslogtreecommitdiff
path: root/sys/arch/arm/xscale/pxa2x0_lcd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-30 21:35:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-30 21:35:58 +0000
commitb0fc800de7e8d3eaae874bc61f1b5cb7abcdf6c6 (patch)
treeadeaa6f7b9f7a832bcfe1e4d7b13bdf7cca95974 /sys/arch/arm/xscale/pxa2x0_lcd.c
parent6bb6daa43666dc1ad3b2689ee1024066e424018d (diff)
Convert all powerhooks to activate functions, and provide powerhook stubs.
Of note: lcd stubs get pulled up to the parent; zts has to keep track of whether it is in use or not testing by myself and jakemsr; proof reading by oga
Diffstat (limited to 'sys/arch/arm/xscale/pxa2x0_lcd.c')
-rw-r--r--sys/arch/arm/xscale/pxa2x0_lcd.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_lcd.c b/sys/arch/arm/xscale/pxa2x0_lcd.c
index 835425f37bc..d465256341c 100644
--- a/sys/arch/arm/xscale/pxa2x0_lcd.c
+++ b/sys/arch/arm/xscale/pxa2x0_lcd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa2x0_lcd.c,v 1.23 2010/08/27 05:04:06 deraadt Exp $ */
+/* $OpenBSD: pxa2x0_lcd.c,v 1.24 2010/08/30 21:35:55 deraadt Exp $ */
/* $NetBSD: pxa2x0_lcd.c,v 1.8 2003/10/03 07:24:05 bsh Exp $ */
/*
@@ -843,19 +843,3 @@ pxa2x0_lcd_resume(struct pxa2x0_lcd_softc *sc)
pxa2x0_lcd_start_dma(sc->iot, sc->ioh, sc->active);
}
}
-
-void
-pxa2x0_lcd_power(int why, void *v)
-{
- struct pxa2x0_lcd_softc *sc = v;
-
- switch (why) {
- case PWR_SUSPEND:
- pxa2x0_lcd_suspend(sc);
- break;
-
- case PWR_RESUME:
- pxa2x0_lcd_resume(sc);
- break;
- }
-}