[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110616115646.7526c8af.randy.dunlap@oracle.com>
Date: Thu, 16 Jun 2011 11:56:46 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: Takashi Iwai <tiwai@...e.de>, alsa-devel@...a-project.org
Subject: [PATCH] sound: fix lola section mismatch warnings
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix section mismatch warnings in lola sound driver:
WARNING: sound/pci/lola/snd-lola.o(.text+0xda4): Section mismatch in reference from the function lola_parse_tree() to the function .devinit.text:lola_init_pcm()
The function lola_parse_tree() references
the function __devinit lola_init_pcm().
This is often because lola_parse_tree lacks a __devinit
annotation or the annotation of lola_init_pcm is wrong.
WARNING: sound/pci/lola/snd-lola.o(.text+0xdf5): Section mismatch in reference from the function lola_parse_tree() to the function .devinit.text:lola_init_pins()
The function lola_parse_tree() references
the function __devinit lola_init_pins().
This is often because lola_parse_tree lacks a __devinit
annotation or the annotation of lola_init_pins is wrong.
WARNING: sound/pci/lola/snd-lola.o(.text+0xe52): Section mismatch in reference from the function lola_parse_tree() to the function .devinit.text:lola_init_clock_widget()
The function lola_parse_tree() references
the function __devinit lola_init_clock_widget().
This is often because lola_parse_tree lacks a __devinit
annotation or the annotation of lola_init_clock_widget is wrong.
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
Cc: Takashi Iwai <tiwai@...e.de>
---
sound/pci/lola/lola.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx-30-rc3.orig/sound/pci/lola/lola.c
+++ lnx-30-rc3/sound/pci/lola/lola.c
@@ -445,7 +445,7 @@ static void lola_reset_setups(struct lol
lola_setup_all_analog_gains(chip, PLAY, false); /* output, update */
}
-static int lola_parse_tree(struct lola *chip)
+static int __devinit lola_parse_tree(struct lola *chip)
{
unsigned int val;
int nid, err;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists