Skip to content

Commit

Permalink
microblaze: Show message when reset gpio is not present
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
michalsimek authored and Michal Simek committed Sep 4, 2013
1 parent ec2eba5 commit 54ea21f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/microblaze/kernel/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 54ea21f

Please sign in to comment.