microblaze: Show message when reset gpio is not present

Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
Michal Simek 2012-05-28 09:56:40 +02:00 committed by Michal Simek
parent ec2eba55f0
commit 54ea21f078
1 changed files with 5 additions and 1 deletions

View File

@ -67,7 +67,11 @@ static void gpio_system_reset(void)
pr_notice("Reset GPIO unavailable - halting!\n");
}
#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)
{
return;