[PATCH] oss/es1370: fix initdata section references

From: Randy.Dunlap (rddunlap_at_osdl.org)
Date: 03/05/05

  • Next message: Randy.Dunlap: "Re: [RFQ] Rules for accepting patches into the linux-releases tree"
    Date:	Fri, 4 Mar 2005 21:54:35 -0800
    To: linux-sound@vger.kernel.org, lkml <linux-kernel@vger.kernel.org>
    
    

    oss/es1370: fix initdata section reference:

    Error: ./sound/oss/es1370.o .text refers to 00000000000042bd R_X86_64_32S .init.data+0x0000000000000024
    Error: ./sound/oss/es1370.o .text refers to 00000000000042c5 R_X86_64_32S .init.data+0x0000000000000020

    Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

    diffstat:=
     sound/oss/es1370.c | 2 +-
     1 files changed, 1 insertion(+), 1 deletion(-)

    diff -Naurp ./sound/oss/es1370.c~oss_es1370_sections ./sound/oss/es1370.c
    --- ./sound/oss/es1370.c~oss_es1370_sections 2005-03-01 23:38:33.000000000 -0800
    +++ ./sound/oss/es1370.c 2005-03-04 21:17:17.000000000 -0800
    @@ -2540,7 +2540,7 @@ MODULE_LICENSE("GPL");
     static struct initvol {
             int mixch;
             int vol;
    -} initvol[] __initdata = {
    +} initvol[] __devinitdata = {
             { SOUND_MIXER_WRITE_VOLUME, 0x4040 },
             { SOUND_MIXER_WRITE_PCM, 0x4040 },
             { SOUND_MIXER_WRITE_SYNTH, 0x4040 },

    ---
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Randy.Dunlap: "Re: [RFQ] Rules for accepting patches into the linux-releases tree"

    Relevant Pages

    • [PATCH] oss/cmpci: fix initdata section references
      ... --- ~Randy - ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [PATCH] oss/esssolo1: fix initdata section references
      ... oss/esssolo1: fix initdata section reference: ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [PATCH] oss/cs4281: fix initdata section references
      ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] sonicvibes: fix initdata references
      ... which should be __devinitdata; ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: Maintain list of attached event handlers (.Net 1.1)
      ... Your requirement to unsubscribe when the event fires is completely independent of how you unsubscribe other events later. ... A basic rule of event management is that when you subscribe the first handler, the reference to the event has to be instantiated. ... While you didn't actually post any code that showed such an enumeration, I will take as granted that somewhere you actually do. ... It's simple, it works, and is MORE performant than trying to maintain a list or lists or other data structures as various events are raised and unsubscribed from. ...
      (microsoft.public.dotnet.framework)