All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org,
	Paul Mundt <lethal@linux-sh.org>
Subject: [PATCH 3/8] irqdomain: Make irq_domain_simple_map() static.
Date: Sat, 19 May 2012 06:11:43 +0000	[thread overview]
Message-ID: <1337407908-7421-4-git-send-email-lethal@linux-sh.org> (raw)
In-Reply-To: <1337407908-7421-1-git-send-email-lethal@linux-sh.org>

Presently irq_domain_simple_map() isn't labelled as static, but there's
no definition for it in the public irqdomain header either. At present
all in-tree ->map users have meaningful work to do, and all others are
using irq_domain_simple_ops directly. Make it static for now, as it can
always be exported and added to the public API later.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
 kernel/irq/irqdomain.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index 01d4a0d..92e06442 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -758,8 +758,8 @@ static int __init irq_debugfs_init(void)
 __initcall(irq_debugfs_init);
 #endif /* CONFIG_IRQ_DOMAIN_DEBUG */
 
-int irq_domain_simple_map(struct irq_domain *d, unsigned int irq,
-			  irq_hw_number_t hwirq)
+static int irq_domain_simple_map(struct irq_domain *d, unsigned int irq,
+				 irq_hw_number_t hwirq)
 {
 	return 0;
 }
-- 
1.7.9.rc0.28.g0e1cf


WARNING: multiple messages have this Message-ID (diff)
From: Paul Mundt <lethal@linux-sh.org>
To: Grant Likely <grant.likely@secretlab.ca>
Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org,
	Paul Mundt <lethal@linux-sh.org>
Subject: [PATCH 3/8] irqdomain: Make irq_domain_simple_map() static.
Date: Sat, 19 May 2012 15:11:43 +0900	[thread overview]
Message-ID: <1337407908-7421-4-git-send-email-lethal@linux-sh.org> (raw)
In-Reply-To: <1337407908-7421-1-git-send-email-lethal@linux-sh.org>

Presently irq_domain_simple_map() isn't labelled as static, but there's
no definition for it in the public irqdomain header either. At present
all in-tree ->map users have meaningful work to do, and all others are
using irq_domain_simple_ops directly. Make it static for now, as it can
always be exported and added to the public API later.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
 kernel/irq/irqdomain.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index 01d4a0d..92e06442 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -758,8 +758,8 @@ static int __init irq_debugfs_init(void)
 __initcall(irq_debugfs_init);
 #endif /* CONFIG_IRQ_DOMAIN_DEBUG */
 
-int irq_domain_simple_map(struct irq_domain *d, unsigned int irq,
-			  irq_hw_number_t hwirq)
+static int irq_domain_simple_map(struct irq_domain *d, unsigned int irq,
+				 irq_hw_number_t hwirq)
 {
 	return 0;
 }
-- 
1.7.9.rc0.28.g0e1cf


  parent reply	other threads:[~2012-05-19  6:11 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-19  6:11 [PATCH 0/8] irqdomain cleanups + identity mapping support Paul Mundt
2012-05-19  6:11 ` Paul Mundt
2012-05-19  6:11 ` [PATCH 1/8] irqdomain: Support removal of IRQ domains Paul Mundt
2012-05-19  6:11   ` Paul Mundt
2012-05-19 18:34   ` Grant Likely
2012-05-19 18:34     ` Grant Likely
2012-05-19  6:11 ` [PATCH 2/8] irqdomain: Export remaining public API symbols Paul Mundt
2012-05-19  6:11   ` Paul Mundt
2012-05-19 18:34   ` Grant Likely
2012-05-19 18:34     ` Grant Likely
2012-05-19  6:11 ` Paul Mundt [this message]
2012-05-19  6:11   ` [PATCH 3/8] irqdomain: Make irq_domain_simple_map() static Paul Mundt
2012-05-19 18:35   ` Grant Likely
2012-05-19 18:35     ` Grant Likely
2012-05-19  6:11 ` [PATCH 4/8] irqdomain: Simple NUMA awareness Paul Mundt
2012-05-19  6:11   ` Paul Mundt
2012-05-19 18:41   ` Grant Likely
2012-05-19 18:41     ` Grant Likely
2012-05-21  4:46     ` Paul Mundt
2012-05-21  4:46       ` Paul Mundt
2012-05-19  6:11 ` [PATCH 5/8] irqdomain: Kill off duplicate definitions Paul Mundt
2012-05-19  6:11   ` Paul Mundt
2012-05-19 18:42   ` Grant Likely
2012-05-19 18:42     ` Grant Likely
2012-05-19  6:11 ` [PATCH 6/8] irqdomain: Support identity mapped VIRQ allocation Paul Mundt
2012-05-19  6:11   ` Paul Mundt
2012-05-19 20:21   ` Grant Likely
2012-05-19 20:21     ` Grant Likely
2012-05-21  4:55     ` Paul Mundt
2012-05-21  4:55       ` Paul Mundt
2012-05-19  6:11 ` [PATCH 7/8] irqdomain: trivial pr_fmt conversion Paul Mundt
2012-05-19  6:11   ` Paul Mundt
2012-05-19  6:34   ` Joe Perches
2012-05-19  6:34     ` Joe Perches
2012-05-19  6:57     ` Paul Mundt
2012-05-19  6:57       ` Paul Mundt
2012-05-19 18:49   ` Grant Likely
2012-05-19 18:49     ` Grant Likely
2012-05-19  6:11 ` [PATCH 8/8] irqdomain: Support insertion of existing IRQ allocations Paul Mundt
2012-05-19  6:11   ` Paul Mundt
2012-05-19 18:32 ` [PATCH 0/8] irqdomain cleanups + identity mapping support Grant Likely
2012-05-19 18:32   ` Grant Likely

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=1337407908-7421-4-git-send-email-lethal@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-kernel@vger.kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.