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-bf561 | |
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-bf561')
-rw-r--r-- | arch/blackfin/mach-bf561/boards/cm_bf561.c | 15 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/boards/ezkit.c | 15 |
2 files changed, 0 insertions, 30 deletions
diff --git a/arch/blackfin/mach-bf561/boards/cm_bf561.c b/arch/blackfin/mach-bf561/boards/cm_bf561.c index 3efeca7de5fb..dfc8d5b77986 100644 --- a/arch/blackfin/mach-bf561/boards/cm_bf561.c +++ b/arch/blackfin/mach-bf561/boards/cm_bf561.c | |||
@@ -265,19 +265,6 @@ static struct platform_device net2272_bfin_device = { | |||
265 | }; | 265 | }; |
266 | #endif | 266 | #endif |
267 | 267 | ||
268 | static struct resource bfin_gpios_resources = { | ||
269 | .start = 0, | ||
270 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
271 | .flags = IORESOURCE_IRQ, | ||
272 | }; | ||
273 | |||
274 | static struct platform_device bfin_gpios_device = { | ||
275 | .name = "simple-gpio", | ||
276 | .id = -1, | ||
277 | .num_resources = 1, | ||
278 | .resource = &bfin_gpios_resources, | ||
279 | }; | ||
280 | |||
281 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 268 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
282 | static struct resource isp1362_hcd_resources[] = { | 269 | static struct resource isp1362_hcd_resources[] = { |
283 | { | 270 | { |
@@ -512,8 +499,6 @@ static struct platform_device *cm_bf561_devices[] __initdata = { | |||
512 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 499 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
513 | ¶_flash_device, | 500 | ¶_flash_device, |
514 | #endif | 501 | #endif |
515 | |||
516 | &bfin_gpios_device, | ||
517 | }; | 502 | }; |
518 | 503 | ||
519 | static int __init cm_bf561_init(void) | 504 | static int __init cm_bf561_init(void) |
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c index a8caa8a59666..9e2d8cfba546 100644 --- a/arch/blackfin/mach-bf561/boards/ezkit.c +++ b/arch/blackfin/mach-bf561/boards/ezkit.c | |||
@@ -366,19 +366,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
366 | }; | 366 | }; |
367 | #endif | 367 | #endif |
368 | 368 | ||
369 | static struct resource bfin_gpios_resources = { | ||
370 | .start = 0, | ||
371 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
372 | .flags = IORESOURCE_IRQ, | ||
373 | }; | ||
374 | |||
375 | static struct platform_device bfin_gpios_device = { | ||
376 | .name = "simple-gpio", | ||
377 | .id = -1, | ||
378 | .num_resources = 1, | ||
379 | .resource = &bfin_gpios_resources, | ||
380 | }; | ||
381 | |||
382 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 369 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
383 | #include <linux/i2c-gpio.h> | 370 | #include <linux/i2c-gpio.h> |
384 | 371 | ||
@@ -472,8 +459,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
472 | &isp1362_hcd_device, | 459 | &isp1362_hcd_device, |
473 | #endif | 460 | #endif |
474 | 461 | ||
475 | &bfin_gpios_device, | ||
476 | |||
477 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 462 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
478 | &ezkit_flash_device, | 463 | &ezkit_flash_device, |
479 | #endif | 464 | #endif |