Skip to contentSkip to conversation

Fix init warning in tsc2101 alsa driver.

PATCH In review lamikr 1 participant 1 message Aug 18, 2006 Sound

lore
Share & tools
lore

lamikr

author
#0 lore raw

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'

Quoted 1 line

From a72985872597a4c7358a977dac9754afc7e59795 Mon Sep 17 00:00:00 2001

From: Mika Laitio <[email protected]>
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'

---
 sound/arm/omap/omap-alsa-tsc2101.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/arm/omap/omap-alsa-tsc2101.c +1 -1
index 14afcc6..9bbf0c7 100644
@@ -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;
Signature · 1 line
1.4.2