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-bf537 | |
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-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/cm_bf537e.c | 15 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/cm_bf537u.c | 15 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 15 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/tcm_bf537.c | 15 |
4 files changed, 0 insertions, 60 deletions
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537e.c b/arch/blackfin/mach-bf537/boards/cm_bf537e.c index e930638e3231..c85f4d770535 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537e.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537e.c | |||
@@ -276,19 +276,6 @@ static struct platform_device net2272_bfin_device = { | |||
276 | }; | 276 | }; |
277 | #endif | 277 | #endif |
278 | 278 | ||
279 | static struct resource bfin_gpios_resources = { | ||
280 | .start = 0, | ||
281 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
282 | .flags = IORESOURCE_IRQ, | ||
283 | }; | ||
284 | |||
285 | static struct platform_device bfin_gpios_device = { | ||
286 | .name = "simple-gpio", | ||
287 | .id = -1, | ||
288 | .num_resources = 1, | ||
289 | .resource = &bfin_gpios_resources, | ||
290 | }; | ||
291 | |||
292 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 279 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
293 | static struct mtd_partition cm_partitions[] = { | 280 | static struct mtd_partition cm_partitions[] = { |
294 | { | 281 | { |
@@ -678,8 +665,6 @@ static struct platform_device *cm_bf537e_devices[] __initdata = { | |||
678 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 665 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
679 | &cm_flash_device, | 666 | &cm_flash_device, |
680 | #endif | 667 | #endif |
681 | |||
682 | &bfin_gpios_device, | ||
683 | }; | 668 | }; |
684 | 669 | ||
685 | static int __init cm_bf537e_init(void) | 670 | static int __init cm_bf537e_init(void) |
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537u.c b/arch/blackfin/mach-bf537/boards/cm_bf537u.c index fb6835b1330b..ea11aa81340d 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537u.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537u.c | |||
@@ -277,19 +277,6 @@ static struct platform_device net2272_bfin_device = { | |||
277 | }; | 277 | }; |
278 | #endif | 278 | #endif |
279 | 279 | ||
280 | static struct resource bfin_gpios_resources = { | ||
281 | .start = 0, | ||
282 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
283 | .flags = IORESOURCE_IRQ, | ||
284 | }; | ||
285 | |||
286 | static struct platform_device bfin_gpios_device = { | ||
287 | .name = "simple-gpio", | ||
288 | .id = -1, | ||
289 | .num_resources = 1, | ||
290 | .resource = &bfin_gpios_resources, | ||
291 | }; | ||
292 | |||
293 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 280 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
294 | static struct mtd_partition cm_partitions[] = { | 281 | static struct mtd_partition cm_partitions[] = { |
295 | { | 282 | { |
@@ -584,8 +571,6 @@ static struct platform_device *cm_bf537u_devices[] __initdata = { | |||
584 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 571 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
585 | &cm_flash_device, | 572 | &cm_flash_device, |
586 | #endif | 573 | #endif |
587 | |||
588 | &bfin_gpios_device, | ||
589 | }; | 574 | }; |
590 | 575 | ||
591 | static int __init cm_bf537u_init(void) | 576 | static int __init cm_bf537u_init(void) |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 3091a149dd19..c46baa5e6d9b 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -99,19 +99,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
99 | }; | 99 | }; |
100 | #endif | 100 | #endif |
101 | 101 | ||
102 | static struct resource bfin_gpios_resources = { | ||
103 | .start = 0, | ||
104 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
105 | .flags = IORESOURCE_IRQ, | ||
106 | }; | ||
107 | |||
108 | static struct platform_device bfin_gpios_device = { | ||
109 | .name = "simple-gpio", | ||
110 | .id = -1, | ||
111 | .num_resources = 1, | ||
112 | .resource = &bfin_gpios_resources, | ||
113 | }; | ||
114 | |||
115 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) | 102 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) |
116 | static struct resource bfin_pcmcia_cf_resources[] = { | 103 | static struct resource bfin_pcmcia_cf_resources[] = { |
117 | { | 104 | { |
@@ -1675,8 +1662,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1675 | &bfin_device_gpiokeys, | 1662 | &bfin_device_gpiokeys, |
1676 | #endif | 1663 | #endif |
1677 | 1664 | ||
1678 | &bfin_gpios_device, | ||
1679 | |||
1680 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) | 1665 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) |
1681 | &bfin_async_nand_device, | 1666 | &bfin_async_nand_device, |
1682 | #endif | 1667 | #endif |
diff --git a/arch/blackfin/mach-bf537/boards/tcm_bf537.c b/arch/blackfin/mach-bf537/boards/tcm_bf537.c index 72ff7f815784..57163b65a4f5 100644 --- a/arch/blackfin/mach-bf537/boards/tcm_bf537.c +++ b/arch/blackfin/mach-bf537/boards/tcm_bf537.c | |||
@@ -277,19 +277,6 @@ static struct platform_device net2272_bfin_device = { | |||
277 | }; | 277 | }; |
278 | #endif | 278 | #endif |
279 | 279 | ||
280 | static struct resource bfin_gpios_resources = { | ||
281 | .start = 0, | ||
282 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
283 | .flags = IORESOURCE_IRQ, | ||
284 | }; | ||
285 | |||
286 | static struct platform_device bfin_gpios_device = { | ||
287 | .name = "simple-gpio", | ||
288 | .id = -1, | ||
289 | .num_resources = 1, | ||
290 | .resource = &bfin_gpios_resources, | ||
291 | }; | ||
292 | |||
293 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 280 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
294 | static struct mtd_partition cm_partitions[] = { | 281 | static struct mtd_partition cm_partitions[] = { |
295 | { | 282 | { |
@@ -586,8 +573,6 @@ static struct platform_device *cm_bf537_devices[] __initdata = { | |||
586 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 573 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
587 | &cm_flash_device, | 574 | &cm_flash_device, |
588 | #endif | 575 | #endif |
589 | |||
590 | &bfin_gpios_device, | ||
591 | }; | 576 | }; |
592 | 577 | ||
593 | static int __init tcm_bf537_init(void) | 578 | static int __init tcm_bf537_init(void) |