summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-w90x900/nuc9xx.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-07 18:02:39 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-11-21 09:49:30 +0000
commite5bc9e257a4ef3dabc6b5573215983d663ffcd55 (patch)
tree1f4fbd86f66ef1d14141a0b0c83add286ecb6132 /arch/arm/mach-w90x900/nuc9xx.h
parent3a083227a45cbbf5d29e6fe7c093af9e09905d4d (diff)
ARM: w90x900: add common nuc9xx.h
Rather than having separate extern declarations in nuc9*.h, provide a common header file containing these definitions. Tested-by: Wan Zongshun <mcuos.com@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-w90x900/nuc9xx.h')
-rw-r--r--arch/arm/mach-w90x900/nuc9xx.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-w90x900/nuc9xx.h b/arch/arm/mach-w90x900/nuc9xx.h
new file mode 100644
index 00000000000..847c4f3e044
--- /dev/null
+++ b/arch/arm/mach-w90x900/nuc9xx.h
@@ -0,0 +1,23 @@
+/*
+ * arch/arm/mach-w90x900/nuc9xx.h
+ *
+ * Copied from nuc910.h, which had:
+ *
+ * Copyright (c) 2008 Nuvoton corporation
+ *
+ * Header file for NUC900 CPU support
+ *
+ * Wan ZongShun <mcuos.com@gmail.com>
+ *
+ * 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 map_desc;
+struct sys_timer;
+
+/* core initialisation functions */
+
+extern void nuc900_init_irq(void);
+extern struct sys_timer nuc900_timer;