dopowerhooks(PWR_SUSPEND);
zapm_poweroff(void){	struct pxa2x0_apm_softc *sc;	KASSERT(apm_cd.cd_ndevs > 0 && apm_cd.cd_devs[0] != NULL);	sc = apm_cd.cd_devs[0];#if 0	/* XXX enable charging during suspend */	/* XXX keep power LED state during suspend */	/* XXX do the same thing for GPIO 43 (BTTXD) */	/* XXX scoop power down */	pxa2x0_wakeup_config(PXA2X0_WAKEUP_ALL, 1);	/* XXX set PGSRn and GPDRn */#endif	dopowerhooks(PWR_SUSPEND);	/* Turn off the status LED to avoid blinking before restart. */	scoop_led_set(SCOOP_LED_GREEN, 0);	pxa2x0_apm_sleep(sc);	zapm_restart();	/* NOTREACHED */	dopowerhooks(PWR_RESUME);}