linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] OMAP: features: export symbol omap3_features
@ 2010-09-24  3:41 Omar Ramirez Luna
  2010-09-24  3:41 ` [PATCH 2/2] omap: mailbox: fix detection for previously supported chips Omar Ramirez Luna
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Omar Ramirez Luna @ 2010-09-24  3:41 UTC (permalink / raw)
  Cc: Kevin Hilman, Omar Ramirez Luna, Tony Lindgren, Russell King,
	Nishanth Menon, Paul Walmsley, Sanjeev Premi, linux-omap,
	linux-arm-kernel

From: Kevin Hilman <khilman@deeprootsystems.com>

Since omap3_features is a global variable, only code
built-in the kernel can make use of it and thus use
omap_has ##feat functions; exporting this as a kernel
symbol makes modules able to use feature detection
framework too.

Thread: http://marc.info/?l=linux-omap&m=128528822902211&w=2

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
CC: Tony Lindgren <tony@atomide.com>
CC: Russell King <linux@arm.linux.org.uk>
CC: Nishanth Menon <nm@ti.com>
CC: Paul Walmsley <paul@pwsan.com>
CC: Sanjeev Premi <premi@ti.com>
CC: linux-omap@vger.kernel.org
CC: linux-arm-kernel@lists.infradead.org
---
 arch/arm/mach-omap2/id.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 9a879f9..a8c6d19 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -31,6 +31,7 @@ static struct omap_chip_id omap_chip;
 static unsigned int omap_revision;
 
 u32 omap3_features;
+EXPORT_SYMBOL(omap3_features);
 
 unsigned int omap_rev(void)
 {
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-09-24 17:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-24  3:41 [PATCH 1/2] OMAP: features: export symbol omap3_features Omar Ramirez Luna
2010-09-24  3:41 ` [PATCH 2/2] omap: mailbox: fix detection for previously supported chips Omar Ramirez Luna
2010-09-24 14:58 ` [PATCH 1/2] OMAP: features: export symbol omap3_features Kevin Hilman
2010-09-24 15:34 ` Paul Walmsley
2010-09-24 16:51   ` Nishanth Menon
2010-09-24 17:06     ` Paul Walmsley
2010-09-24 17:17       ` Paul Walmsley
2010-09-24 17:26         ` Nishanth Menon

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