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-bf548 | |
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-bf548')
-rw-r--r-- | arch/blackfin/mach-bf548/boards/cm_bf548.c | 15 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/boards/ezkit.c | 15 |
2 files changed, 0 insertions, 30 deletions
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c index 283be6340c68..ccdcd6da2e9f 100644 --- a/arch/blackfin/mach-bf548/boards/cm_bf548.c +++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c | |||
@@ -359,19 +359,6 @@ static struct platform_device musb_device = { | |||
359 | }; | 359 | }; |
360 | #endif | 360 | #endif |
361 | 361 | ||
362 | static struct resource bfin_gpios_resources = { | ||
363 | .start = 0, | ||
364 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
365 | .flags = IORESOURCE_IRQ, | ||
366 | }; | ||
367 | |||
368 | static struct platform_device bfin_gpios_device = { | ||
369 | .name = "simple-gpio", | ||
370 | .id = -1, | ||
371 | .num_resources = 1, | ||
372 | .resource = &bfin_gpios_resources, | ||
373 | }; | ||
374 | |||
375 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) | 362 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) |
376 | static struct resource bfin_atapi_resources[] = { | 363 | static struct resource bfin_atapi_resources[] = { |
377 | { | 364 | { |
@@ -830,8 +817,6 @@ static struct platform_device *cm_bf548_devices[] __initdata = { | |||
830 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 817 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
831 | ¶_flash_device, | 818 | ¶_flash_device, |
832 | #endif | 819 | #endif |
833 | |||
834 | &bfin_gpios_device, | ||
835 | }; | 820 | }; |
836 | 821 | ||
837 | static int __init cm_bf548_init(void) | 822 | static int __init cm_bf548_init(void) |
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index 879883141a05..1a5286bbb3fa 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
@@ -882,19 +882,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
882 | }; | 882 | }; |
883 | #endif | 883 | #endif |
884 | 884 | ||
885 | static struct resource bfin_gpios_resources = { | ||
886 | .start = 0, | ||
887 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
888 | .flags = IORESOURCE_IRQ, | ||
889 | }; | ||
890 | |||
891 | static struct platform_device bfin_gpios_device = { | ||
892 | .name = "simple-gpio", | ||
893 | .id = -1, | ||
894 | .num_resources = 1, | ||
895 | .resource = &bfin_gpios_resources, | ||
896 | }; | ||
897 | |||
898 | static const unsigned int cclk_vlev_datasheet[] = | 885 | static const unsigned int cclk_vlev_datasheet[] = |
899 | { | 886 | { |
900 | /* | 887 | /* |
@@ -1002,8 +989,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
1002 | &bfin_device_gpiokeys, | 989 | &bfin_device_gpiokeys, |
1003 | #endif | 990 | #endif |
1004 | 991 | ||
1005 | &bfin_gpios_device, | ||
1006 | |||
1007 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 992 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
1008 | &ezkit_flash_device, | 993 | &ezkit_flash_device, |
1009 | #endif | 994 | #endif |