From: Michal Simek Date: Mon, 28 May 2012 07:56:40 +0000 (+0200) Subject: microblaze: Show message when reset gpio is not present X-Git-Tag: firefly_0821_release~176^2~5410^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=54ea21f0785fd01fb3279d42fe6670cef64cf648;p=firefly-linux-kernel-4.4.55.git microblaze: Show message when reset gpio is not present Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/kernel/reset.c b/arch/microblaze/kernel/reset.c index 2e5079ab53d2..fbe58c6554a8 100644 --- a/arch/microblaze/kernel/reset.c +++ b/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;