public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: lamikr <lamikr@cc.jyu.fi>
To: OMAP-Linux <linux-omap-open-source@linux.omap.com>
Subject: [PATCH 3/5] Fix init warning in tsc2101 alsa driver.
Date: Fri, 18 Aug 2006 04:15:56 +0300	[thread overview]
Message-ID: <44E514CC.9030706@cc.jyu.fi> (raw)

[-- 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 --]



                 reply	other threads:[~2006-08-18  1:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44E514CC.9030706@cc.jyu.fi \
    --to=lamikr@cc.jyu.fi \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox