m68k: section mismatch fixes: DMAsound for Atari
authorMichael Schmitz <schmitz@biophys.uni-duesseldorf.de>
Sun, 18 Jan 2009 02:17:33 +0000 (03:17 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 26 Mar 2009 20:15:28 +0000 (21:15 +0100)
add __initdata to driver presets struct

Signed-off-By: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
sound/oss/dmasound/dmasound_atari.c

index 38931f2..1f47741 100644 (file)
@@ -1524,7 +1524,7 @@ static SETTINGS def_soft = {
        .speed  = 8000
 } ;
 
-static MACHINE machTT = {
+static __initdata MACHINE machTT = {
        .name           = "Atari",
        .name2          = "TT",
        .owner          = THIS_MODULE,
@@ -1553,7 +1553,7 @@ static MACHINE machTT = {
        .capabilities   =  DSP_CAP_BATCH        /* As per SNDCTL_DSP_GETCAPS */
 };
 
-static MACHINE machFalcon = {
+static __initdata MACHINE machFalcon = {
        .name           = "Atari",
        .name2          = "FALCON",
        .dma_alloc      = AtaAlloc,