LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
To: linux-mips@linux-mips.org, ralf@linux-mips.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 4/6] [MIPS] make plat_perf_setup() static
Date: Tue,  1 Apr 2008 02:03:23 +0400	[thread overview]
Message-ID: <1207001005-2633-5-git-send-email-dmitri.vorobiev@gmail.com> (raw)
In-Reply-To: <1207001005-2633-1-git-send-email-dmitri.vorobiev@gmail.com>

There is no need for the plat_perf_setup() function to be global,
so make it static.

Successfully build-tested using default configs for Malta, Atlas
and SEAD boards.

Runtime test successfully performed by booting the Malta 4Kc board
up to the shell prompt.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
---
 arch/mips/mips-boards/generic/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/mips-boards/generic/time.c b/arch/mips/mips-boards/generic/time.c
index b50e0fc..a6eece7 100644
--- a/arch/mips/mips-boards/generic/time.c
+++ b/arch/mips/mips-boards/generic/time.c
@@ -127,7 +127,7 @@ unsigned long read_persistent_clock(void)
 	return mc146818_get_cmos_time();
 }
 
-void __init plat_perf_setup(void)
+static void __init plat_perf_setup(void)
 {
 	cp0_perfcount_irq = -1;
 
-- 
1.5.3


  parent reply	other threads:[~2008-03-31 22:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-31 22:03 [PATCH 0/6] [MIPS] make some functions and variables static Dmitri Vorobiev
2008-03-31 22:03 ` [PATCH 1/6] [MIPS] make mips_nmi_setup() static Dmitri Vorobiev
2008-03-31 22:03 ` [PATCH 2/6] [MIPS] make mips_ejtag_setup() static Dmitri Vorobiev
2008-03-31 22:03 ` [PATCH 3/6] [MIPS] make mdesc and prom_getmdesc() static Dmitri Vorobiev
2008-03-31 22:03 ` Dmitri Vorobiev [this message]
2008-03-31 22:03 ` [PATCH 5/6] [MIPS] make standard_io_resources[] static Dmitri Vorobiev
2008-03-31 22:03 ` [PATCH 6/6] [MIPS] malta_int.c: make 4 variables static Dmitri Vorobiev
2008-03-31 22:41 ` [PATCH 0/6] [MIPS] make some functions and " Ralf Baechle
2008-04-01  8:54   ` Dmitri Vorobiev

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=1207001005-2633-5-git-send-email-dmitri.vorobiev@gmail.com \
    --to=dmitri.vorobiev@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --subject='Re: [PATCH 4/6] [MIPS] make plat_perf_setup() static' \
    /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

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).