[PATCH 2/3] m68k: section mismatch fixes: DMAsound

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Part 2: DMAsound driver

commit 277d9bd7a6198e50fdaa841d3383a46a5cf2d185
Author: Michael Schmitz <schmitz@xxxxxxxxxxxxxxxxxxxxxxxx>
Date:   Fri Jan 2 08:06:17 2009 +0100

    [m68k] section mismatch fixes: add __initdata to driver presets struct
    
    Signed-off-By: Michael Schmitz <schmitz@xxxxxxxxxx>
---
diff --git a/sound/oss/dmasound/dmasound_atari.c b/sound/oss/dmasound/dmasound_atari.c
index 4d45bd6..43b10b1 100644
--- a/sound/oss/dmasound/dmasound_atari.c
+++ b/sound/oss/dmasound/dmasound_atari.c
@@ -1523,7 +1523,7 @@ static SETTINGS def_soft = {
 	.speed	= 8000
 } ;
 
-static MACHINE machTT = {
+static __initdata MACHINE machTT = {
 	.name		= "Atari",
 	.name2		= "TT",
 	.owner		= THIS_MODULE,
@@ -1552,7 +1552,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,
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux