From: Mika Laitio Date: Tue, 5 Sep 2006 15:12:57 +0000 (+0300) Subject: [PATCH] Fix init warning in tsc2101 alsa driver X-Git-Tag: v2.6.18-omap1~88^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e0a5ec7958140098a2654562eb7bda47db010223;p=linux-2.6-omap-h63xx.git [PATCH] 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 Signed-off-by: Tony Lindgren --- diff --git a/sound/arm/omap/omap-alsa-tsc2101.c b/sound/arm/omap/omap-alsa-tsc2101.c index 14afcc6550f..9bbf0c72c13 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;