summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/tsx1x-common.h
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2009-11-05 20:27:46 +0000
committerNicolas Pitre <nico@fluxnic.net>2009-11-13 12:14:24 -0500
commit8d27b2f7988b652dbabf79291a3e2550c06e1af5 (patch)
tree595ded246acfaf068b3426253bc09864a952e2b8 /arch/arm/mach-kirkwood/tsx1x-common.h
parent287989cac25ad71002153d55875584210adf78bd (diff)
downloadop-kernel-dev-8d27b2f7988b652dbabf79291a3e2550c06e1af5.zip
op-kernel-dev-8d27b2f7988b652dbabf79291a3e2550c06e1af5.tar.gz
[ARM] Kirkwood: Remove code duplication in QNAP setup files
Remove the code duplication found in the setup files of TS-219 and TS-41x. Signed-off-by: Martin Michlmayr <tbm@cyrius.com> Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-kirkwood/tsx1x-common.h')
-rw-r--r--arch/arm/mach-kirkwood/tsx1x-common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/tsx1x-common.h b/arch/arm/mach-kirkwood/tsx1x-common.h
new file mode 100644
index 0000000..9a59296
--- /dev/null
+++ b/arch/arm/mach-kirkwood/tsx1x-common.h
@@ -0,0 +1,7 @@
+#ifndef __ARCH_KIRKWOOD_TSX1X_COMMON_H
+#define __ARCH_KIRKWOOD_TSX1X_COMMON_H
+
+extern void qnap_tsx1x_register_flash(void);
+extern void qnap_tsx1x_power_off(void);
+
+#endif
OpenPOWER on IntegriCloud