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 5/6] [MIPS] make standard_io_resources[] static
Date: Tue, 1 Apr 2008 02:03:24 +0400 [thread overview]
Message-ID: <1207001005-2633-6-git-send-email-dmitri.vorobiev@gmail.com> (raw)
In-Reply-To: <1207001005-2633-1-git-send-email-dmitri.vorobiev@gmail.com>
The array standard_io_resources[] needs not to be exposed in the kernel
global namespace. This patch makes 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/malta/malta_setup.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/mips-boards/malta/malta_setup.c b/arch/mips/mips-boards/malta/malta_setup.c
index 2cd8f57..a06e4b5 100644
--- a/arch/mips/mips-boards/malta/malta_setup.c
+++ b/arch/mips/mips-boards/malta/malta_setup.c
@@ -1,7 +1,7 @@
/*
* Carsten Langgaard, carstenl@mips.com
* Copyright (C) 2000 MIPS Technologies, Inc. All rights reserved.
- * Copyright (C) Dmitri Vorobiev
+ * Copyright (C) 2008 Dmitri Vorobiev
*
* This program is free software; you can distribute it and/or modify it
* under the terms of the GNU General Public License (Version 2) as
@@ -36,7 +36,7 @@
#include <linux/console.h>
#endif
-struct resource standard_io_resources[] = {
+static struct resource standard_io_resources[] = {
{
.name = "dma1",
.start = 0x00,
--
1.5.3
next prev parent reply other threads:[~2008-03-31 22:08 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 ` [PATCH 4/6] [MIPS] make plat_perf_setup() static Dmitri Vorobiev
2008-03-31 22:03 ` Dmitri Vorobiev [this message]
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-6-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 5/6] [MIPS] make standard_io_resources[] 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).