aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537/boards/cm_bf537u.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-28 15:14:39 -0400
committerMike Frysinger <vapier@gentoo.org>2009-10-08 00:58:18 -0400
commit282246dae8d5757d1f13d61df2d1ebade99c978b (patch)
treeecf3c38620673de0209465c64ed2a37b91f3dd2a /arch/blackfin/mach-bf537/boards/cm_bf537u.c
parent59bd00c85012af2b59ba8c1b47caaf10ccbfa3b1 (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/boards/cm_bf537u.c')
-rw-r--r--arch/blackfin/mach-bf537/boards/cm_bf537u.c15
1 files changed, 0 insertions, 15 deletions
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
280static struct resource bfin_gpios_resources = {
281 .start = 0,
282 .end = MAX_BLACKFIN_GPIOS - 1,
283 .flags = IORESOURCE_IRQ,
284};
285
286static 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)
294static struct mtd_partition cm_partitions[] = { 281static 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
591static int __init cm_bf537u_init(void) 576static int __init cm_bf537u_init(void)