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 2e5079ab53d22f061dd1d1d1e1c992652d74b881..fbe58c6554a84269532e4ebae2252e713b970322 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;