diff options
author | Michal Simek <monstr@monstr.eu> | 2012-05-28 03:56:40 -0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-09-04 11:01:37 -0400 |
commit | 54ea21f0785fd01fb3279d42fe6670cef64cf648 (patch) | |
tree | 2089d3546e70b3320070ce7f663e4ea9c307e387 /arch/microblaze | |
parent | ec2eba55f0c0e74dd39aca14dcc597583cf1eb67 (diff) |
microblaze: Show message when reset gpio is not present
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/kernel/reset.c | 6 |
1 files changed, 5 insertions, 1 deletions
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) | |||
67 | pr_notice("Reset GPIO unavailable - halting!\n"); | 67 | pr_notice("Reset GPIO unavailable - halting!\n"); |
68 | } | 68 | } |
69 | #else | 69 | #else |
70 | #define gpio_system_reset() do {} while (0) | 70 | static void gpio_system_reset(void) |
71 | { | ||
72 | pr_notice("No reset GPIO present - halting!\n"); | ||
73 | } | ||
74 | |||
71 | void of_platform_reset_gpio_probe(void) | 75 | void of_platform_reset_gpio_probe(void) |
72 | { | 76 | { |
73 | return; | 77 | return; |