summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-aaec2000/clock.h
diff options
context:
space:
mode:
authorBellido Nicolas <ml@acolin.be>2005-10-28 16:51:43 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-28 16:51:43 +0100
commit4224b67c9a1d6cbf47b073970bd2db5a89557f92 (patch)
treec2e37463f5844f2f64dcfc8aff4620d903c6e647 /arch/arm/mach-aaec2000/clock.h
parent4a91ca2eb6eff14bb23f709e6ebf189fdbcdaa22 (diff)
downloadblackbird-op-linux-4224b67c9a1d6cbf47b073970bd2db5a89557f92.tar.gz
blackbird-op-linux-4224b67c9a1d6cbf47b073970bd2db5a89557f92.zip
[ARM] 3040/1: AAEC-2000 - Preliminary clock interface support
Patch from Bellido Nicolas Here is a preliminary clock interface support for the AAEC-2000. Signed-off-by: Nicolas Bellido <ml@acolin.be> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-aaec2000/clock.h')
-rw-r--r--arch/arm/mach-aaec2000/clock.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-aaec2000/clock.h b/arch/arm/mach-aaec2000/clock.h
new file mode 100644
index 000000000000..d4bb74ff613f
--- /dev/null
+++ b/arch/arm/mach-aaec2000/clock.h
@@ -0,0 +1,23 @@
+/*
+ * linux/arch/arm/mach-aaec2000/clock.h
+ *
+ * Copyright (C) 2005 Nicolas Bellido Y Ortega
+ *
+ * Based on linux/arch/arm/mach-integrator/clock.h
+ *
+ * This program 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.
+ */
+struct module;
+
+struct clk {
+ struct list_head node;
+ unsigned long rate;
+ struct module *owner;
+ const char *name;
+ void *data;
+};
+
+int clk_register(struct clk *clk);
+void clk_unregister(struct clk *clk);
OpenPOWER on IntegriCloud