diff options
author | Mac Lin <mkl0301@gmail.com> | 2010-11-22 11:32:43 -0500 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-11-26 13:10:50 -0500 |
commit | 38e64ba0f13918d11e50bbd5bb775781ccd6439d (patch) | |
tree | f8a349eab0c2a664aced321775c3d9d2520969a0 /arch/arm/mach-cns3xxx/include | |
parent | df8f4d2f3ef9ca2154f7bd531492a83c4ab4558a (diff) |
ARM: cns3xxx: Add new and export the old power management functions
This patch adds cns3xxx_pwr_clk_dis, and exports these power management
functions that may be used by many other device drivers on CNS3XXX.
Signed-off-by: Mac Lin <mkl0301@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'arch/arm/mach-cns3xxx/include')
-rw-r--r-- | arch/arm/mach-cns3xxx/include/mach/pm.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-cns3xxx/include/mach/pm.h b/arch/arm/mach-cns3xxx/include/mach/pm.h new file mode 100644 index 000000000000..102617bdb45b --- /dev/null +++ b/arch/arm/mach-cns3xxx/include/mach/pm.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | * Copyright 2000 Deep Blue Solutions Ltd | ||
3 | * Copyright 2004 ARM Limited | ||
4 | * Copyright 2008 Cavium Networks | ||
5 | * | ||
6 | * This file is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License, Version 2, as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef __CNS3XXX_PM_H | ||
12 | #define __CNS3XXX_PM_H | ||
13 | |||
14 | void cns3xxx_pwr_clk_en(unsigned int block); | ||
15 | void cns3xxx_pwr_clk_dis(unsigned int block); | ||
16 | void cns3xxx_pwr_power_up(unsigned int block); | ||
17 | void cns3xxx_pwr_power_down(unsigned int block); | ||
18 | |||
19 | #endif /* __CNS3XXX_PM_H */ | ||