* [PATCH] irq: Staticise irq_domain_simple_dt_translate()
@ 2011-11-23 12:25 Mark Brown
0 siblings, 0 replies; only message in thread
From: Mark Brown @ 2011-11-23 12:25 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: linux-kernel, patches, Mark Brown
irq_domain_simple_dt_translate() is only ever accessed indirectly through
irq_domain_simple_ops and should therefore be static.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
kernel/irq/irqdomain.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index b22a641..4dc9826 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -126,7 +126,7 @@ void irq_dispose_mapping(unsigned int irq)
}
EXPORT_SYMBOL_GPL(irq_dispose_mapping);
-int irq_domain_simple_dt_translate(struct irq_domain *d,
+static int irq_domain_simple_dt_translate(struct irq_domain *d,
struct device_node *controller,
const u32 *intspec, unsigned int intsize,
unsigned long *out_hwirq, unsigned int *out_type)
--
1.7.7.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-23 12:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-23 12:25 [PATCH] irq: Staticise irq_domain_simple_dt_translate() Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox