aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf533
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-bf533
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-bf533')
-rw-r--r--arch/blackfin/mach-bf533/boards/blackstamp.c15
-rw-r--r--arch/blackfin/mach-bf533/boards/cm_bf533.c15
-rw-r--r--arch/blackfin/mach-bf533/boards/ezkit.c15
-rw-r--r--arch/blackfin/mach-bf533/boards/stamp.c15
4 files changed, 0 insertions, 60 deletions
diff --git a/arch/blackfin/mach-bf533/boards/blackstamp.c b/arch/blackfin/mach-bf533/boards/blackstamp.c
index fc78a3893981..b580884848d4 100644
--- a/arch/blackfin/mach-bf533/boards/blackstamp.c
+++ b/arch/blackfin/mach-bf533/boards/blackstamp.c
@@ -275,19 +275,6 @@ static struct platform_device bfin_device_gpiokeys = {
275}; 275};
276#endif 276#endif
277 277
278static struct resource bfin_gpios_resources = {
279 .start = 0,
280 .end = MAX_BLACKFIN_GPIOS - 1,
281 .flags = IORESOURCE_IRQ,
282};
283
284static struct platform_device bfin_gpios_device = {
285 .name = "simple-gpio",
286 .id = -1,
287 .num_resources = 1,
288 .resource = &bfin_gpios_resources,
289};
290
291#if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) 278#if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE)
292#include <linux/i2c-gpio.h> 279#include <linux/i2c-gpio.h>
293 280
@@ -378,8 +365,6 @@ static struct platform_device *stamp_devices[] __initdata = {
378#if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) 365#if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE)
379 &i2c_gpio_device, 366 &i2c_gpio_device,
380#endif 367#endif
381
382 &bfin_gpios_device,
383}; 368};
384 369
385static int __init blackstamp_init(void) 370static int __init blackstamp_init(void)
diff --git a/arch/blackfin/mach-bf533/boards/cm_bf533.c b/arch/blackfin/mach-bf533/boards/cm_bf533.c
index a3c20e077a43..7fc3b860d4ae 100644
--- a/arch/blackfin/mach-bf533/boards/cm_bf533.c
+++ b/arch/blackfin/mach-bf533/boards/cm_bf533.c
@@ -241,19 +241,6 @@ static struct platform_device smsc911x_device = {
241}; 241};
242#endif 242#endif
243 243
244static struct resource bfin_gpios_resources = {
245 .start = 0,
246 .end = MAX_BLACKFIN_GPIOS - 1,
247 .flags = IORESOURCE_IRQ,
248};
249
250static struct platform_device bfin_gpios_device = {
251 .name = "simple-gpio",
252 .id = -1,
253 .num_resources = 1,
254 .resource = &bfin_gpios_resources,
255};
256
257#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) 244#if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
258static struct resource bfin_uart_resources[] = { 245static struct resource bfin_uart_resources[] = {
259 { 246 {
@@ -486,8 +473,6 @@ static struct platform_device *cm_bf533_devices[] __initdata = {
486#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) 473#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
487 &para_flash_device, 474 &para_flash_device,
488#endif 475#endif
489
490 &bfin_gpios_device,
491}; 476};
492 477
493static int __init cm_bf533_init(void) 478static int __init cm_bf533_init(void)
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
392static struct resource bfin_gpios_resources = {
393 .start = 0,
394 .end = MAX_BLACKFIN_GPIOS - 1,
395 .flags = IORESOURCE_IRQ,
396};
397
398static 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
507static int __init ezkit_init(void) 492static int __init ezkit_init(void)
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c
index ff1fd938442f..82f70efd66e7 100644
--- a/arch/blackfin/mach-bf533/boards/stamp.c
+++ b/arch/blackfin/mach-bf533/boards/stamp.c
@@ -408,19 +408,6 @@ static struct platform_device bfin_device_gpiokeys = {
408}; 408};
409#endif 409#endif
410 410
411static struct resource bfin_gpios_resources = {
412 .start = 0,
413 .end = MAX_BLACKFIN_GPIOS - 1,
414 .flags = IORESOURCE_IRQ,
415};
416
417static struct platform_device bfin_gpios_device = {
418 .name = "simple-gpio",
419 .id = -1,
420 .num_resources = 1,
421 .resource = &bfin_gpios_resources,
422};
423
424#if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) 411#if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE)
425#include <linux/i2c-gpio.h> 412#include <linux/i2c-gpio.h>
426 413
@@ -536,8 +523,6 @@ static struct platform_device *stamp_devices[] __initdata = {
536 &i2c_gpio_device, 523 &i2c_gpio_device,
537#endif 524#endif
538 525
539 &bfin_gpios_device,
540
541#if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE) 526#if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE)
542 &stamp_flash_device, 527 &stamp_flash_device,
543#endif 528#endif