Commit 54ea21f0 authored by Michal Simek's avatar Michal Simek Committed by Michal Simek

microblaze: Show message when reset gpio is not present

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent ec2eba55
...@@ -67,7 +67,11 @@ static void gpio_system_reset(void) ...@@ -67,7 +67,11 @@ static void gpio_system_reset(void)
pr_notice("Reset GPIO unavailable - halting!\n"); pr_notice("Reset GPIO unavailable - halting!\n");
} }
#else #else
#define gpio_system_reset() do {} while (0) static void gpio_system_reset(void)
{
pr_notice("No reset GPIO present - halting!\n");
}
void of_platform_reset_gpio_probe(void) void of_platform_reset_gpio_probe(void)
{ {
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment