* [PATCH 5/5] [DEBUG] r8a7791: show MSTP clock status in /proc/cpuinfo
@ 2014-04-15 12:45 Geert Uytterhoeven
0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2014-04-15 12:45 UTC (permalink / raw)
To: linux-sh
Not-Yet-Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/kernel/setup.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 50e198c1e9c8..6a0373bc6046 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -1017,6 +1017,8 @@ static const char *hwcap2_str[] = {
NULL
};
+extern void r8a7791_show_mstp_clocks(struct seq_file *m);
+
static int c_show(struct seq_file *m, void *v)
{
int i, j;
@@ -1072,6 +1074,13 @@ static int c_show(struct seq_file *m, void *v)
seq_printf(m, "Serial\t\t: %08x%08x\n",
system_serial_high, system_serial_low);
+#ifdef CONFIG_ARCH_R8A7791
+#ifdef CONFIG_ARCH_MULTIPLATFORM
+ if (of_machine_is_compatible("renesas,r8a7791"))
+#endif
+ r8a7791_show_mstp_clocks(m);
+#endif /* CONFIG_ARCH_R8A7791 */
+
return 0;
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-15 12:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-15 12:45 [PATCH 5/5] [DEBUG] r8a7791: show MSTP clock status in /proc/cpuinfo Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).