]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix section mismatch warnings
authorDirk Behme <dirk.behme@googlemail.com>
Tue, 4 Jul 2006 07:55:42 +0000 (00:55 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 4 Jul 2006 07:55:42 +0000 (00:55 -0700)
Fix warnings

WARNING: drivers/pcmcia/omap_cf.o - Section mismatch:
reference to .init.text: from .data between '' (at offset
0x80) and 'omap_cf_ops'

WARNING: sound/arm/omap/snd-omap-alsa-aic23.o - Section
mismatch: reference to .init.text: from .data between ''
(at offset 0x68) and 'aic23_hw_constraints_rates'

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/pcmcia/omap_cf.c
sound/arm/omap/omap-alsa-aic23.c

index 0fbcb7358f035a1d443e09eb4223e1c148f05b3d..df604b3a0a1acc434bd94c1a8a9ac201311cdb69 100644 (file)
@@ -203,7 +203,7 @@ static struct pccard_operations omap_cf_ops = {
  * "what chipselect is used".  Boards could want more.
  */
 
-static int __init omap_cf_probe(struct device *dev)
+static int __devinit omap_cf_probe(struct device *dev)
 {
        unsigned                seg;
        struct omap_cf_socket   *cf;
index 293c2d467c472f303a8700dfb0d5cb73a9b49184..b48396176ed89ee679c19b6023e11a5640c11785 100644 (file)
@@ -271,7 +271,7 @@ int aic23_get_default_samplerate(void)
        return DEFAULT_SAMPLE_RATE;
 }
 
-static int __init snd_omap_alsa_aic23_probe(struct platform_device *pdev)
+static int __devinit snd_omap_alsa_aic23_probe(struct platform_device *pdev)
 {
        int     ret;
        struct  omap_alsa_codec_config *codec_cfg;