Beispiel #1
0
static void rhea_poweroff(void)
{
#ifdef CONFIG_MFD_BCM_PMU590XX
	bcm590xx_shutdown();
#endif

#ifdef CONFIG_MFD_BCMPMU
        bcmpmu_client_power_off();
#endif

	while(1)
		;
}
static void hawaii_poweroff(void)
{
#ifdef CONFIG_MFD_BCM_PMU590XX
	bcm590xx_shutdown();
#endif

#if defined(CONFIG_MFD_BCMPMU) || defined(CONFIG_MFD_BCM_PMU59xxx)
	bcmpmu_client_power_off();
#endif

	mdelay(5);
	pr_err("Failed power off!!!\n");
	while (1) ;
}