microblaze: Show message when reset gpio is not present
authorMichal Simek <monstr@monstr.eu>
Mon, 28 May 2012 07:56:40 +0000 (09:56 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 4 Sep 2013 15:01:37 +0000 (17:01 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/reset.c

index 2e5079a..fbe58c6 100644 (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;