summaryrefslogtreecommitdiff
path: root/arch/arm/mach-cns3xxx/include/mach
diff options
context:
space:
mode:
authorMac Lin <mkl0301@gmail.com>2010-11-22 19:32:43 +0300
committerAnton Vorontsov <cbouatmailru@gmail.com>2010-11-26 21:10:50 +0300
commit38e64ba0f13918d11e50bbd5bb775781ccd6439d (patch)
treef8a349eab0c2a664aced321775c3d9d2520969a0 /arch/arm/mach-cns3xxx/include/mach
parentdf8f4d2f3ef9ca2154f7bd531492a83c4ab4558a (diff)
downloadlinux-38e64ba0f13918d11e50bbd5bb775781ccd6439d.tar.xz
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/mach')
-rw-r--r--arch/arm/mach-cns3xxx/include/mach/pm.h19
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 @@
+/*
+ * Copyright 2000 Deep Blue Solutions Ltd
+ * Copyright 2004 ARM Limited
+ * Copyright 2008 Cavium Networks
+ *
+ * This file is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License, Version 2, as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __CNS3XXX_PM_H
+#define __CNS3XXX_PM_H
+
+void cns3xxx_pwr_clk_en(unsigned int block);
+void cns3xxx_pwr_clk_dis(unsigned int block);
+void cns3xxx_pwr_power_up(unsigned int block);
+void cns3xxx_pwr_power_down(unsigned int block);
+
+#endif /* __CNS3XXX_PM_H */