public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/5] Fix init warning in tsc2101 alsa driver.
@ 2006-08-18  1:15 lamikr
  0 siblings, 0 replies; only message in thread
From: lamikr @ 2006-08-18  1:15 UTC (permalink / raw)
  To: OMAP-Linux

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

Fix init warning in tsc2101 alsa driver. WARNING:
sound/arm/omap/snd-omap-alsa-tsc2101.o - Section mismatch: reference to
.init.text: from .data between '' (at offset 0x6c) and
'tsc2101_snd_omap_alsa_capture'

Signed-off-by: Mika Laitio <lamikr@cc.jyu.fi>



[-- Attachment #2: 0003-fix-init-warning-in-tsc2101-alsa-driver.patch --]
[-- Type: text/x-patch, Size: 1086 bytes --]

>From a72985872597a4c7358a977dac9754afc7e59795 Mon Sep 17 00:00:00 2001
From: Mika Laitio <lamikr@cc.jyu.fi>
Date: Fri, 18 Aug 2006 02:44:01 +0300
Subject: [PATCH 3/5] fix init warning in tsc2101 alsa driver.

Fix init warning in tsc2101 alsa driver. WARNING: sound/arm/omap/snd-omap-alsa-tsc2101.o - Section mismatch: reference to .init.text: from .data between '' (at offset 0x6c) and 'tsc2101_snd_omap_alsa_capture'

Signed-off-by: Mika Laitio <lamikr@cc.jyu.fi>
---
 sound/arm/omap/omap-alsa-tsc2101.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/arm/omap/omap-alsa-tsc2101.c b/sound/arm/omap/omap-alsa-tsc2101.c
index 14afcc6..9bbf0c7 100644
--- a/sound/arm/omap/omap-alsa-tsc2101.c
+++ b/sound/arm/omap/omap-alsa-tsc2101.c
@@ -381,7 +381,7 @@ int tsc2101_get_default_samplerate(void)
 	return DEFAULT_SAMPLE_RATE;
 }
 
-static int __init snd_omap_alsa_tsc2101_probe(struct platform_device *pdev)
+static int __devinit snd_omap_alsa_tsc2101_probe(struct platform_device *pdev)
 {
 	int	ret;
 	struct	omap_alsa_codec_config *codec_cfg;
-- 
1.4.2


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-18  1:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-18  1:15 [PATCH 3/5] Fix init warning in tsc2101 alsa driver lamikr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox