linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: linux-sh@vger.kernel.org
Subject: [PATCH 5/5] [DEBUG] r8a7791: show MSTP clock status in /proc/cpuinfo
Date: Tue, 15 Apr 2014 12:45:24 +0000	[thread overview]
Message-ID: <1397565924-23541-6-git-send-email-geert+renesas@glider.be> (raw)

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


                 reply	other threads:[~2014-04-15 12:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1397565924-23541-6-git-send-email-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).