diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-09-28 15:14:39 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-10-08 00:58:18 -0400 |
commit | 282246dae8d5757d1f13d61df2d1ebade99c978b (patch) | |
tree | ecf3c38620673de0209465c64ed2a37b91f3dd2a /arch/blackfin/mach-bf538/boards | |
parent | 59bd00c85012af2b59ba8c1b47caaf10ccbfa3b1 (diff) |
Blackfin: drop all simple-gpio board resources
The simple-gpio has been replaced by the gpio sysfs interface, so drop the
unused simple-gpio resources from all Blackfin boards.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf538/boards')
-rw-r--r-- | arch/blackfin/mach-bf538/boards/ezkit.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c index 8d612e7de5e2..14af5c2088d4 100644 --- a/arch/blackfin/mach-bf538/boards/ezkit.c +++ b/arch/blackfin/mach-bf538/boards/ezkit.c | |||
@@ -483,19 +483,6 @@ static struct platform_device i2c_bfin_twi1_device = { | |||
483 | #endif | 483 | #endif |
484 | #endif | 484 | #endif |
485 | 485 | ||
486 | static struct resource bfin_gpios_resources = { | ||
487 | .start = 0, | ||
488 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
489 | .flags = IORESOURCE_IRQ, | ||
490 | }; | ||
491 | |||
492 | static struct platform_device bfin_gpios_device = { | ||
493 | .name = "simple-gpio", | ||
494 | .id = -1, | ||
495 | .num_resources = 1, | ||
496 | .resource = &bfin_gpios_resources, | ||
497 | }; | ||
498 | |||
499 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 486 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
500 | #include <linux/gpio_keys.h> | 487 | #include <linux/gpio_keys.h> |
501 | 488 | ||
@@ -635,8 +622,6 @@ static struct platform_device *cm_bf538_devices[] __initdata = { | |||
635 | &bfin_device_gpiokeys, | 622 | &bfin_device_gpiokeys, |
636 | #endif | 623 | #endif |
637 | 624 | ||
638 | &bfin_gpios_device, | ||
639 | |||
640 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 625 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
641 | &ezkit_flash_device, | 626 | &ezkit_flash_device, |
642 | #endif | 627 | #endif |