summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/common.h
diff options
context:
space:
mode:
authorArnaud Ebalard <arno@natisbad.org>2013-03-19 23:28:06 +0100
committerJason Cooper <jason@lakedaemon.net>2013-03-28 18:32:40 +0000
commitf236f5aabe8ebd7824590ae82d701402ead237e7 (patch)
tree9abbca7870ad56c389449535adb52ff61b23cf40 /arch/arm/mach-kirkwood/common.h
parent8bb9660418e05bb1845ac1a2428444d78e322cc7 (diff)
downloadop-kernel-dev-f236f5aabe8ebd7824590ae82d701402ead237e7.zip
op-kernel-dev-f236f5aabe8ebd7824590ae82d701402ead237e7.tar.gz
ARM: kirkwood: Add support for NETGEAR ReadyNAS Duo v2 using DT
Add support for NETGEAR ReadyNAS Duo v2 (Hardware specs available here: http://natisbad.org/NAS/). Almost everything is supported via provided .dts. A board-readynas.c file is nonetheless required for device not only converted to DT (Gbit controller). Signed-off-by: Arnaud Ebalard <arno@natisbad.org> Tested-By: Arnaud Ebalard <arno@natisbad.org> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/common.h')
-rw-r--r--arch/arm/mach-kirkwood/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/common.h b/arch/arm/mach-kirkwood/common.h
index 5ed7056..7ee8670 100644
--- a/arch/arm/mach-kirkwood/common.h
+++ b/arch/arm/mach-kirkwood/common.h
@@ -141,6 +141,12 @@ void openblocks_a6_init(void);
static inline void openblocks_a6_init(void) {};
#endif
+#ifdef CONFIG_MACH_READYNAS_DT
+void netgear_readynas_init(void);
+#else
+static inline void netgear_readynas_init(void) {};
+#endif
+
#ifdef CONFIG_MACH_TOPKICK_DT
void usi_topkick_init(void);
#else
OpenPOWER on IntegriCloud