6bd2d3f90c5deb1a76a0cfb8c049f64df91e2df3
[openwrt/svn-archive/archive.git] / target / linux / ramips / files / arch / mips / ralink / rt288x / devices.h
1 /*
2 * Ralink RT288x SoC specific platform definitions
3 *
4 * Copyright (C) 2008 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published
9 * by the Free Software Foundation.
10 */
11
12 #ifndef __ASM_MACH_RT288X_PLATFORM_H
13 #define __ASM_MACH_RT288X_PLATFORM_H
14
15 struct physmap_flash_data;
16
17 extern void rt288x_register_flash(unsigned int id,
18 struct physmap_flash_data *pdata) __init;
19 void rt288x_register_wifi(void) __init;
20
21 extern struct ramips_eth_platform_data rt288x_eth_data;
22 void rt288x_register_ethernet(void) __init;
23
24 #endif /* __ASM_MACH_RT288X_PLATFORM_H */