summaryrefslogtreecommitdiff
path: root/arch/arm/mach-cns3xxx/pm.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-13 13:15:25 +0100
committerArnd Bergmann <arnd@arndb.de>2013-03-14 17:34:55 +0100
commit3f9fb2a08f55c79b4c6cde423c1e8ddcc5a49781 (patch)
tree35a78bd1e63edb8c7f836bf20cf5032f8b9ed5ea /arch/arm/mach-cns3xxx/pm.h
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff)
ARM: cns3xxx: make mach header files local
The mach/cns3xxx.h and mach/pm.h header files are used only in the platform code itself, so there is no need to make them globally visible. This gets us closer to multiplatform configuration for cns3xxx. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-cns3xxx/pm.h')
-rw-r--r--arch/arm/mach-cns3xxx/pm.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-cns3xxx/pm.h b/arch/arm/mach-cns3xxx/pm.h
new file mode 100644
index 000000000000..c2588cc991d1
--- /dev/null
+++ b/arch/arm/mach-cns3xxx/pm.h
@@ -0,0 +1,23 @@
+/*
+ * 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
+
+#include <linux/atomic.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);
+
+extern atomic_t usb_pwr_ref;
+
+#endif /* __CNS3XXX_PM_H */