summaryrefslogtreecommitdiff
path: root/arch/arm/plat-spear/include/plat/clkdev.h
diff options
context:
space:
mode:
authorviresh kumar <viresh.kumar@st.com>2010-04-01 15:30:46 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-04-14 14:34:33 +0400
commit8c0236fc465c71d98203bcf5609db01b9cf5f70f (patch)
treebe5754541381f3978a470455a0d0892f278ef689 /arch/arm/plat-spear/include/plat/clkdev.h
parent986435e3596cbae662b86812e4563fbb6013b994 (diff)
downloadlinux-8c0236fc465c71d98203bcf5609db01b9cf5f70f.tar.xz
ARM: 6014/1: ST SPEAr: Added clock framework for SPEAr platform and machines
Clock framework for SPEAr is based upon clkdev framework for ARM Reviewed-by: Linus Walleij <linux.walleij@stericsson.com> Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-spear/include/plat/clkdev.h')
-rw-r--r--arch/arm/plat-spear/include/plat/clkdev.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/plat-spear/include/plat/clkdev.h b/arch/arm/plat-spear/include/plat/clkdev.h
new file mode 100644
index 000000000000..a2d0112fcaf7
--- /dev/null
+++ b/arch/arm/plat-spear/include/plat/clkdev.h
@@ -0,0 +1,20 @@
+/*
+ * arch/arm/plat-spear/include/plat/clkdev.h
+ *
+ * Clock Dev framework definitions for SPEAr platform
+ *
+ * Copyright (C) 2009 ST Microelectronics
+ * Viresh Kumar<viresh.kumar@st.com>
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#ifndef __PLAT_CLKDEV_H
+#define __PLAT_CLKDEV_H
+
+#define __clk_get(clk) ({ 1; })
+#define __clk_put(clk) do { } while (0)
+
+#endif /* __PLAT_CLKDEV_H */