[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-m68k
Subject: Re: [PATCH 2/3] m68k: section mismatch fixes: DMAsound
From: Geert Uytterhoeven <geert () linux-m68k ! org>
Date: 2009-01-30 18:37:42
Message-ID: Pine.LNX.4.64.0901301935300.23582 () anakin
[Download RAW message or body]
On Sun, 18 Jan 2009, Michael Schmitz wrote:
> commit 277d9bd7a6198e50fdaa841d3383a46a5cf2d185
> Author: Michael Schmitz <schmitz@xplor.waratah.dyndns.org>
> Date: Fri Jan 2 08:06:17 2009 +0100
>
> [m68k] section mismatch fixes: add __initdata to driver presets struct
I don't get section mismatch warnings for dmasound_atari?
> Signed-off-By: Michael Schmitz <schmitz@debian.org>
> ---
> 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,
But these are OK, as mach{TT,Falcon} are copied in dmasound_atari_init().
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic