15 #include <linux/sched.h>
17 #include <linux/sysctl.h>
18 #include <linux/errno.h>
20 #include <asm/uaccess.h>
26 static unsigned long imask;
30 static void mb93093_power_switch_setup(
void)
33 imask = *(
volatile unsigned long *)0xfeff9820;
34 *(
volatile unsigned long *)0xfeff9820 = ~(1 << (
IRQ_XIRQ2_LEVEL + 16)) & 0xfffe0000;
40 static void mb93093_power_switch_cleanup(
void)
42 *(
volatile unsigned long *)0xfeff9820 = imask;
48 static int mb93093_power_switch_check(
void)
56 static int __init mb93093_pm_init(
void)