projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec2eba5
)
microblaze: Show message when reset gpio is not present
author
Michal Simek
<monstr@monstr.eu>
Mon, 28 May 2012 07:56:40 +0000
(09:56 +0200)
committer
Michal 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
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/reset.c
b/arch/microblaze/kernel/reset.c
index
2e5079a
..
fbe58c6
100644
(file)
--- 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;