diff options
Diffstat (limited to 'arch/mips/au1000/common/power.c')
-rw-r--r-- | arch/mips/au1000/common/power.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/mips/au1000/common/power.c b/arch/mips/au1000/common/power.c index 54047d69b820..812a5f8b7d26 100644 --- a/arch/mips/au1000/common/power.c +++ b/arch/mips/au1000/common/power.c | |||
@@ -29,17 +29,14 @@ | |||
29 | * with this program; if not, write to the Free Software Foundation, Inc., | 29 | * with this program; if not, write to the Free Software Foundation, Inc., |
30 | * 675 Mass Ave, Cambridge, MA 02139, USA. | 30 | * 675 Mass Ave, Cambridge, MA 02139, USA. |
31 | */ | 31 | */ |
32 | |||
32 | #include <linux/init.h> | 33 | #include <linux/init.h> |
33 | #include <linux/pm.h> | 34 | #include <linux/pm.h> |
34 | #include <linux/pm_legacy.h> | 35 | #include <linux/pm_legacy.h> |
35 | #include <linux/slab.h> | ||
36 | #include <linux/sysctl.h> | 36 | #include <linux/sysctl.h> |
37 | #include <linux/jiffies.h> | 37 | #include <linux/jiffies.h> |
38 | 38 | ||
39 | #include <asm/string.h> | ||
40 | #include <asm/uaccess.h> | 39 | #include <asm/uaccess.h> |
41 | #include <asm/io.h> | ||
42 | #include <asm/system.h> | ||
43 | #include <asm/cacheflush.h> | 40 | #include <asm/cacheflush.h> |
44 | #include <asm/mach-au1x00/au1000.h> | 41 | #include <asm/mach-au1x00/au1000.h> |
45 | 42 | ||
@@ -47,17 +44,13 @@ | |||
47 | 44 | ||
48 | #define DEBUG 1 | 45 | #define DEBUG 1 |
49 | #ifdef DEBUG | 46 | #ifdef DEBUG |
50 | # define DPRINTK(fmt, args...) printk("%s: " fmt, __FUNCTION__ , ## args) | 47 | # define DPRINTK(fmt, args...) printk("%s: " fmt, __func__, ## args) |
51 | #else | 48 | #else |
52 | # define DPRINTK(fmt, args...) | 49 | # define DPRINTK(fmt, args...) |
53 | #endif | 50 | #endif |
54 | 51 | ||
55 | static void au1000_calibrate_delay(void); | 52 | static void au1000_calibrate_delay(void); |
56 | 53 | ||
57 | extern void set_au1x00_speed(unsigned int new_freq); | ||
58 | extern unsigned int get_au1x00_speed(void); | ||
59 | extern unsigned long get_au1x00_uart_baud_base(void); | ||
60 | extern void set_au1x00_uart_baud_base(unsigned long new_baud_base); | ||
61 | extern unsigned long save_local_and_disable(int controller); | 54 | extern unsigned long save_local_and_disable(int controller); |
62 | extern void restore_local_and_enable(int controller, unsigned long mask); | 55 | extern void restore_local_and_enable(int controller, unsigned long mask); |
63 | extern void local_enable_irq(unsigned int irq_nr); | 56 | extern void local_enable_irq(unsigned int irq_nr); |