diff options
Diffstat (limited to 'arch/blackfin/mach-bf538/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf538/boards/ezkit.c | 46 |
1 files changed, 4 insertions, 42 deletions
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c index f2ac3b0ebf24..14af5c2088d4 100644 --- a/arch/blackfin/mach-bf538/boards/ezkit.c +++ b/arch/blackfin/mach-bf538/boards/ezkit.c | |||
@@ -1,31 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/mach-bf538/boards/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
3 | * Based on: arch/blackfin/mach-bf537/boards/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
5 | * | 5 | * |
6 | * Created: | 6 | * Licensed under the GPL-2 |
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2008 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | 7 | */ |
30 | 8 | ||
31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
@@ -237,7 +215,6 @@ static struct flash_platform_data bfin_spi_flash_data = { | |||
237 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 215 | static struct bfin5xx_spi_chip spi_flash_chip_info = { |
238 | .enable_dma = 0, /* use dma transfer with this chip*/ | 216 | .enable_dma = 0, /* use dma transfer with this chip*/ |
239 | .bits_per_word = 8, | 217 | .bits_per_word = 8, |
240 | .cs_change_per_word = 0, | ||
241 | }; | 218 | }; |
242 | #endif | 219 | #endif |
243 | 220 | ||
@@ -506,19 +483,6 @@ static struct platform_device i2c_bfin_twi1_device = { | |||
506 | #endif | 483 | #endif |
507 | #endif | 484 | #endif |
508 | 485 | ||
509 | static struct resource bfin_gpios_resources = { | ||
510 | .start = 0, | ||
511 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
512 | .flags = IORESOURCE_IRQ, | ||
513 | }; | ||
514 | |||
515 | static struct platform_device bfin_gpios_device = { | ||
516 | .name = "simple-gpio", | ||
517 | .id = -1, | ||
518 | .num_resources = 1, | ||
519 | .resource = &bfin_gpios_resources, | ||
520 | }; | ||
521 | |||
522 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 486 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
523 | #include <linux/gpio_keys.h> | 487 | #include <linux/gpio_keys.h> |
524 | 488 | ||
@@ -658,8 +622,6 @@ static struct platform_device *cm_bf538_devices[] __initdata = { | |||
658 | &bfin_device_gpiokeys, | 622 | &bfin_device_gpiokeys, |
659 | #endif | 623 | #endif |
660 | 624 | ||
661 | &bfin_gpios_device, | ||
662 | |||
663 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 625 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
664 | &ezkit_flash_device, | 626 | &ezkit_flash_device, |
665 | #endif | 627 | #endif |