[PATCH] sound/oss/opl3as2: fix init section reference

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

  • Next message: Pavel Machek: "Update suspend-to-RAM vs. video documentation"
    Date:	Sun, 27 Feb 2005 17:05:07 -0800
    To: torvalds <torvalds@osdl.org>
    
    

    sound/oss/opl3sa2: calls __init function during probe, which may
    be after init for PNP devices;

    Error: ./sound/oss/opl3sa2.o .text refers to 0000000000000204 R_X86_64_PC32 .init.text+0xfffffffffffffffc Error: ./sound/oss/opl3sa2.o .text refers to 0000000000000210 R_X86_64_PC32 .init.text+0xfffffffffffffffc Error: ./sound/oss/opl3sa2.o .text refers to 000000000000021c R_X86_64_PC32 .init.text+0xfffffffffffffffc

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

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

    diff -Naurp ./sound/oss/opl3sa2.c~sound_opl_sections ./sound/oss/opl3sa2.c
    --- ./sound/oss/opl3sa2.c~sound_opl_sections 2005-02-27 12:54:07.373802456 -0800
    +++ ./sound/oss/opl3sa2.c 2005-02-27 17:08:18.164329888 -0800
    @@ -711,7 +711,7 @@ static void __init attach_opl3sa2_mixer(
     }
     
     
    -static void __init opl3sa2_clear_slots(struct address_info* hw_config)
    +static void opl3sa2_clear_slots(struct address_info* hw_config)
     {
             int i;
     

    ---
    -
    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: Pavel Machek: "Update suspend-to-RAM vs. video documentation"

    Relevant Pages

    • Re: Init single and Serial console : How to ?
      ... Attempting to kill init ... >> related to presenting the login on the serial console. ... > To unsubscribe from this list: ... > Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: Apache Server (Oracle)
      ... restart unless you installed a new kernel... ... simulate boot conditions do a init 1; ... Are there any Oracle people out there that I can help me with the ...
      (RedHat)
    • Re: Debian equivalent to service?
      ... hardly see the differnce between typing: ... <fiddling with stuff> ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • [2.6 patch] drivers/char/stallion.c: make a function static
      ... static unsigned long stl_atol(char *str); ... +static int __init stl_init ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Clearing SWAP
      ... Since init cannot be avoided (or, more exactly, a number 1 process ... any form of cron. ... Another difference is that init is able to automatically respawn the ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)