[PATCH] oss/esssolo1: fix initdata section references

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

  • Next message: Randy.Dunlap: "[PATCH] oss/sscape: fix section references"
    Date:	Fri, 4 Mar 2005 21:55:49 -0800
    To: linux-sound@vger.kernel.org, lkml <linux-kernel@vger.kernel.org>
    
    

    oss/esssolo1: fix initdata section reference:

    Error: ./sound/oss/esssolo1.o .text refers to 0000000000000bab R_X86_64_32S .init.data+0x0000000000000004
    Error: ./sound/oss/esssolo1.o .text refers to 0000000000000bb2 R_X86_64_32S .init.data

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

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

    diff -Naurp ./sound/oss/esssolo1.c~oss_esssolo1_sections ./sound/oss/esssolo1.c
    --- ./sound/oss/esssolo1.c~oss_esssolo1_sections 2005-03-01 23:37:48.000000000 -0800
    +++ ./sound/oss/esssolo1.c 2005-03-04 21:19:59.000000000 -0800
    @@ -2193,7 +2193,7 @@ static /*const*/ struct file_operations
     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: "[PATCH] oss/sscape: fix section references"

    Relevant Pages

    • 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)
    • RE: Copyright Issues
      ... The company that supplies these vending machines is called Naughty Vend ... reference to and copyright credits to the original artist. ... the BSD Daemon is copyrighted by Marshall Kirk ... To unsubscribe, ...
      (freebsd-questions)
    • Re: Delegates and Events confusion
      ... I figured that I needed to unsubscribe in some way but since I ... wasn't storing an internal reference to the subscriber. ... In ClassC I hook into the ClassA ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: Need to remove a ghost file, but cant because it doesnt exist
      ... What most of the proposed methods had in common was that they ... needed to have a valid reference to the file first. ... Note this is my understanding and interpretation, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Maintain list of attached event handlers (.Net 1.1)
      ... The question of being able to unsubscribe event handlers later has nothing to do with whether you also unsubscribe as they are raised. ... attached this handler to that event". ... public event MyHandlerType myevent; ... However, that doesn't mean that you can't instead retain a reference to the object with the event itself, and gain access to the event later that way. ...
      (microsoft.public.dotnet.framework)