diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/stamp.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index 324317a89105..c0f7d40fe124 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -457,6 +457,19 @@ static struct platform_device bfin_device_gpiokeys = { | |||
457 | }; | 457 | }; |
458 | #endif | 458 | #endif |
459 | 459 | ||
460 | static struct resource bfin_gpios_resources = { | ||
461 | .start = 0, | ||
462 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
463 | .flags = IORESOURCE_IRQ, | ||
464 | }; | ||
465 | |||
466 | static struct platform_device bfin_gpios_device = { | ||
467 | .name = "simple-gpio", | ||
468 | .id = -1, | ||
469 | .num_resources = 1, | ||
470 | .resource = &bfin_gpios_resources, | ||
471 | }; | ||
472 | |||
460 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 473 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
461 | #include <linux/i2c-gpio.h> | 474 | #include <linux/i2c-gpio.h> |
462 | 475 | ||
@@ -518,6 +531,8 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
518 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 531 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
519 | &i2c_gpio_device, | 532 | &i2c_gpio_device, |
520 | #endif | 533 | #endif |
534 | |||
535 | &bfin_gpios_device, | ||
521 | &stamp_flash_device, | 536 | &stamp_flash_device, |
522 | }; | 537 | }; |
523 | 538 | ||