aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537/boards/tcm_bf537.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/tcm_bf537.c')
-rw-r--r--arch/blackfin/mach-bf537/boards/tcm_bf537.c15
1 files changed, 0 insertions, 15 deletions
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
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 {
@@ -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
593static int __init tcm_bf537_init(void) 578static int __init tcm_bf537_init(void)