[rdc] rework board detection
[openwrt/svn-archive/archive.git] / target / linux / rdc / files-2.6.30 / arch / x86 / include / asm / rdc_boards.h
1 /*
2 * RDC321x boards
3 *
4 * Copyright (C) 2007-2009 OpenWrt.org
5 * Copyright (C) 2007 Florian Fainelli <florian@openwrt.org>
6 * Copyright (C) 2008-2009 Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the
20 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
22 *
23 */
24
25 #ifndef _RDC_BOARDS_H__
26 #define _RDC_BOARDS_H__
27
28 #include <linux/leds.h>
29 #include <linux/gpio_buttons.h>
30
31 struct rdc_platform_data {
32 struct gpio_led_platform_data led_data;
33 struct gpio_buttons_platform_data button_data;
34 };
35
36 #endif