diff options
author | Michal Simek <monstr@monstr.eu> | 2009-10-02 12:48:47 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-12-14 08:40:08 +0100 |
commit | 42a2478b789cb1b4335909e0fecc721c07be7d90 (patch) | |
tree | 1769ac33d86287054af07bbae99dca61140e3364 /arch/microblaze/platform/platform.c | |
parent | f40542532e96dda5506eb76badea322f2ae4731c (diff) | |
download | blackbird-op-linux-42a2478b789cb1b4335909e0fecc721c07be7d90.tar.gz blackbird-op-linux-42a2478b789cb1b4335909e0fecc721c07be7d90.zip |
microblaze: GPIO reset support
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/platform/platform.c')
-rw-r--r-- | arch/microblaze/platform/platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/platform/platform.c b/arch/microblaze/platform/platform.c index 56e0234fa34b..5b89b58c5aed 100644 --- a/arch/microblaze/platform/platform.c +++ b/arch/microblaze/platform/platform.c @@ -13,6 +13,7 @@ #include <linux/init.h> #include <linux/of_platform.h> #include <asm/prom.h> +#include <asm/setup.h> static struct of_device_id xilinx_of_bus_ids[] __initdata = { { .compatible = "simple-bus", }, @@ -26,6 +27,7 @@ static struct of_device_id xilinx_of_bus_ids[] __initdata = { static int __init microblaze_device_probe(void) { of_platform_bus_probe(NULL, xilinx_of_bus_ids, NULL); + of_platform_reset_gpio_probe(); return 0; } device_initcall(microblaze_device_probe); |