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-bf533/boards/ezkit.c | |
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-bf533/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/ezkit.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c index 986fcdcf82d2..d4689dcc198e 100644 --- a/arch/blackfin/mach-bf533/boards/ezkit.c +++ b/arch/blackfin/mach-bf533/boards/ezkit.c | |||
@@ -389,19 +389,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
389 | }; | 389 | }; |
390 | #endif | 390 | #endif |
391 | 391 | ||
392 | static struct resource bfin_gpios_resources = { | ||
393 | .start = 0, | ||
394 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
395 | .flags = IORESOURCE_IRQ, | ||
396 | }; | ||
397 | |||
398 | static struct platform_device bfin_gpios_device = { | ||
399 | .name = "simple-gpio", | ||
400 | .id = -1, | ||
401 | .num_resources = 1, | ||
402 | .resource = &bfin_gpios_resources, | ||
403 | }; | ||
404 | |||
405 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 392 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
406 | #include <linux/i2c-gpio.h> | 393 | #include <linux/i2c-gpio.h> |
407 | 394 | ||
@@ -500,8 +487,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
500 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 487 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
501 | &i2c_gpio_device, | 488 | &i2c_gpio_device, |
502 | #endif | 489 | #endif |
503 | |||
504 | &bfin_gpios_device, | ||
505 | }; | 490 | }; |
506 | 491 | ||
507 | static int __init ezkit_init(void) | 492 | static int __init ezkit_init(void) |