diff options
author | Sylver Bruneau <sylver.bruneau@googlemail.com> | 2008-05-31 12:21:49 -0400 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-06-22 16:44:54 -0400 |
commit | 530c854aa351b2c7b3b3b6bedae8143310875206 (patch) | |
tree | 97274996c022b14a235152ef5dce809e915634ab /arch/arm/mach-orion5x/tsx09-common.h | |
parent | b08d5af39616fd32a1fafbcb51c36d4c99c4e02f (diff) |
[ARM] Orion: remove code duplication in TS209 and TS409 setup files
Signed-off-by: Sylver Bruneau <sylver.bruneau@googlemail.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'arch/arm/mach-orion5x/tsx09-common.h')
-rw-r--r-- | arch/arm/mach-orion5x/tsx09-common.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/tsx09-common.h b/arch/arm/mach-orion5x/tsx09-common.h new file mode 100644 index 000000000000..0984264616f0 --- /dev/null +++ b/arch/arm/mach-orion5x/tsx09-common.h | |||
@@ -0,0 +1,20 @@ | |||
1 | #ifndef __ARCH_ORION5X_TSX09_COMMON_H | ||
2 | #define __ARCH_ORION5X_TSX09_COMMON_H | ||
3 | |||
4 | /* | ||
5 | * QNAP TS-x09 Boards power-off function | ||
6 | */ | ||
7 | extern void qnap_tsx09_power_off(void); | ||
8 | |||
9 | /* | ||
10 | * QNAP TS-x09 Boards function to find Ethernet MAC address in flash memory | ||
11 | */ | ||
12 | extern void __init qnap_tsx09_find_mac_addr(u32 mem_base, u32 size); | ||
13 | |||
14 | /* | ||
15 | * QNAP TS-x09 Boards ethernet declaration | ||
16 | */ | ||
17 | extern struct mv643xx_eth_platform_data qnap_tsx09_eth_data; | ||
18 | |||
19 | |||
20 | #endif | ||