diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/cm_bf533.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/cm_bf533.c | 45 |
1 files changed, 5 insertions, 40 deletions
diff --git a/arch/blackfin/mach-bf533/boards/cm_bf533.c b/arch/blackfin/mach-bf533/boards/cm_bf533.c index 7443b26c80c..7fc3b860d4a 100644 --- a/arch/blackfin/mach-bf533/boards/cm_bf533.c +++ b/arch/blackfin/mach-bf533/boards/cm_bf533.c | |||
@@ -1,30 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf533/boards/cm_bf533.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2008-2009 Bluetechnix |
4 | * Author: Aidan Williams <aidan@nicta.com.au> Copyright 2005 | 4 | * 2005 National ICT Australia (NICTA) |
5 | * Aidan Williams <aidan@nicta.com.au> | ||
5 | * | 6 | * |
6 | * Created: 2005 | 7 | * Licensed under the GPL-2 or later. |
7 | * Description: Board description file | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 8 | */ |
29 | 9 | ||
30 | #include <linux/device.h> | 10 | #include <linux/device.h> |
@@ -261,19 +241,6 @@ static struct platform_device smsc911x_device = { | |||
261 | }; | 241 | }; |
262 | #endif | 242 | #endif |
263 | 243 | ||
264 | static struct resource bfin_gpios_resources = { | ||
265 | .start = 0, | ||
266 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
267 | .flags = IORESOURCE_IRQ, | ||
268 | }; | ||
269 | |||
270 | static struct platform_device bfin_gpios_device = { | ||
271 | .name = "simple-gpio", | ||
272 | .id = -1, | ||
273 | .num_resources = 1, | ||
274 | .resource = &bfin_gpios_resources, | ||
275 | }; | ||
276 | |||
277 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 244 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
278 | static struct resource bfin_uart_resources[] = { | 245 | static struct resource bfin_uart_resources[] = { |
279 | { | 246 | { |
@@ -506,8 +473,6 @@ static struct platform_device *cm_bf533_devices[] __initdata = { | |||
506 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 473 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
507 | ¶_flash_device, | 474 | ¶_flash_device, |
508 | #endif | 475 | #endif |
509 | |||
510 | &bfin_gpios_device, | ||
511 | }; | 476 | }; |
512 | 477 | ||
513 | static int __init cm_bf533_init(void) | 478 | static int __init cm_bf533_init(void) |