diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/blackstamp.c')
| -rw-r--r-- | arch/blackfin/mach-bf533/boards/blackstamp.c | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/arch/blackfin/mach-bf533/boards/blackstamp.c b/arch/blackfin/mach-bf533/boards/blackstamp.c index 8208d67e2c97..b580884848d4 100644 --- a/arch/blackfin/mach-bf533/boards/blackstamp.c +++ b/arch/blackfin/mach-bf533/boards/blackstamp.c | |||
| @@ -1,16 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf533/blackstamp.c | 2 | * Board Info File for the BlackStamp |
| 3 | * Based on: arch/blackfin/mach-bf533/stamp.c | ||
| 4 | * Author: Benjamin Matthews <bmat@lle.rochester.edu> | ||
| 5 | * Aidan Williams <aidan@nicta.com.au> | ||
| 6 | * | 3 | * |
| 7 | * Created: 2008 | ||
| 8 | * Description: Board Info File for the BlackStamp | ||
| 9 | * | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
| 12 | * | 5 | * 2008 Benjamin Matthews <bmat@lle.rochester.edu> |
| 13 | * Enter bugs at http://blackfin.uclinux.org/ | 6 | * 2005 National ICT Australia (NICTA) |
| 7 | * Aidan Williams <aidan@nicta.com.au> | ||
| 14 | * | 8 | * |
| 15 | * More info about the BlackStamp at: | 9 | * More info about the BlackStamp at: |
| 16 | * http://blackfin.uclinux.org/gf/project/blackstamp/ | 10 | * http://blackfin.uclinux.org/gf/project/blackstamp/ |
| @@ -281,19 +275,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
| 281 | }; | 275 | }; |
| 282 | #endif | 276 | #endif |
| 283 | 277 | ||
| 284 | static struct resource bfin_gpios_resources = { | ||
| 285 | .start = 0, | ||
| 286 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 287 | .flags = IORESOURCE_IRQ, | ||
| 288 | }; | ||
| 289 | |||
| 290 | static struct platform_device bfin_gpios_device = { | ||
| 291 | .name = "simple-gpio", | ||
| 292 | .id = -1, | ||
| 293 | .num_resources = 1, | ||
| 294 | .resource = &bfin_gpios_resources, | ||
| 295 | }; | ||
| 296 | |||
| 297 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 278 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
| 298 | #include <linux/i2c-gpio.h> | 279 | #include <linux/i2c-gpio.h> |
| 299 | 280 | ||
| @@ -384,8 +365,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 384 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 365 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
| 385 | &i2c_gpio_device, | 366 | &i2c_gpio_device, |
| 386 | #endif | 367 | #endif |
| 387 | |||
| 388 | &bfin_gpios_device, | ||
| 389 | }; | 368 | }; |
| 390 | 369 | ||
| 391 | static int __init blackstamp_init(void) | 370 | static int __init blackstamp_init(void) |
