aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/common.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-05-12 08:57:59 -0400
committerAndrew Lunn <andrew@lunn.ch>2012-07-27 10:48:52 -0400
commit9eb61f473601c047a4c0c84269d0c25493e45277 (patch)
tree2d86f210620e5637f1a95ed7c633a5a10c7b4555 /arch/arm/mach-kirkwood/common.h
parent97b414e119ccc7216e29c3bd62fe1a1797f21404 (diff)
ARM: Kirkwood: Add basic device tree support for QNAP TS219.
The two different variants of QNAP TS devices, varying by SoC, put the GPIO keys on different GPIO lines. Hence we need two different DT board descriptions, which share the same board-ts219.c file. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/common.h')
-rw-r--r--arch/arm/mach-kirkwood/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/common.h b/arch/arm/mach-kirkwood/common.h
index 9248fa2c165b..e0c23245a73c 100644
--- a/arch/arm/mach-kirkwood/common.h
+++ b/arch/arm/mach-kirkwood/common.h
@@ -58,6 +58,11 @@ void dreamplug_init(void);
58#else 58#else
59static inline void dreamplug_init(void) {}; 59static inline void dreamplug_init(void) {};
60#endif 60#endif
61#ifdef CONFIG_MACH_TS219_DT
62void qnap_dt_ts219_init(void);
63#else
64static inline void qnap_dt_ts219_init(void) {};
65#endif
61 66
62#ifdef CONFIG_MACH_DLINK_KIRKWOOD_DT 67#ifdef CONFIG_MACH_DLINK_KIRKWOOD_DT
63void dnskw_init(void); 68void dnskw_init(void);