ramips: rt3883: make rt3883_wlan_data visible
[openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt3883 / devices.h
1 /*
2  * Ralink RT3662/3883 SoC specific platform device definitions
3  *
4  * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 as published
8  * by the Free Software Foundation.
9  */
10
11 #ifndef _RT3883_DEVICES_H
12 #define _RT3883_DEVICES_H
13
14 struct physmap_flash_data;
15
16 extern struct physmap_flash_data rt3883_flash0_data;
17 extern struct physmap_flash_data rt3883_flash1_data;
18 void rt3883_register_pflash(unsigned int id);
19
20 struct mtd_partition;
21 void rt3883_register_nand(struct mtd_partition *parts, int nr_parts);
22
23 extern struct ramips_eth_platform_data rt3883_eth_data;
24 void rt3883_register_ethernet(void);
25 void rt3883_register_usbhost(void);
26
27 extern struct rt2x00_platform_data rt3883_wlan_data;
28 void rt3883_register_wlan(void);
29 void rt3883_register_wdt(bool enable_reset);
30
31 #endif  /* _RT3883_DEVICES_H */