Browse Source

microblaze: Show message when reset gpio is not present

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek 13 years ago
parent
commit
54ea21f078
1 changed files with 5 additions and 1 deletions
  1. 5 1
      arch/microblaze/kernel/reset.c

+ 5 - 1
arch/microblaze/kernel/reset.c

@@ -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;