]> err.no Git - linux-2.6/commitdiff
[ALSA] bt87x - Fix section mismatch
authorTakashi Iwai <tiwai@suse.de>
Wed, 17 Oct 2007 08:35:58 +0000 (10:35 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 23 Oct 2007 06:04:32 +0000 (08:04 +0200)
const and __devinit aren't a good pair, resulting in a section
mismatch error.  Let's remove const as a temporary solution.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/bt87x.c

index 91f9e6a112ffd6749421fa8ba9d4ec93cc50b7d9..f960b8209d1b036810e5668564bc981d9224dc57 100644 (file)
@@ -165,7 +165,7 @@ struct snd_bt87x_board {
        unsigned no_digital:1;  /* No digital input */
 };
 
-static const __devinitdata struct snd_bt87x_board snd_bt87x_boards[] = {
+static __devinitdata struct snd_bt87x_board snd_bt87x_boards[] = {
        [SND_BT87X_BOARD_UNKNOWN] = {
                .dig_rate = 32000, /* just a guess */
        },