projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/arch/microblaze/kernel/reset.c
b/arch/microblaze/kernel/reset.c
index 2e5079ab53d22f061dd1d1d1e1c992652d74b881..fbe58c6554a84269532e4ebae2252e713b970322 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;