[PATCH] Removing __initfunc from drivers/video/sun3fb.c (240-test9)

From: Rasmus Andersen (rasmus@jaquet.dk)
Date: Fri Oct 06 2000 - 17:01:08 EDT

  • Next message: David Wagner: "Re: ack number in a connection-refused RST"

    Hi.

    (I hope that you are the current maintainer for the Sun3 framebuffer.
    If not, please redirect me if you are able to.)

    It is my understanding that __initfunc is deprecate in 2.4.0. So this
    patch exchanges __initfunc with __init.

    --- linux-240-test9-clean/drivers/video/sun3fb.c Mon Oct 2 22:31:14 2000
    +++ linux/drivers/video/sun3fb.c Fri Oct 6 22:47:28 2000
    @@ -334,7 +334,7 @@
          * Setup: parse used options
          */
     
    -__initfunc(void sun3fb_setup(char *options))
    +void __init sun3fb_setup(char *options)
     {
             char *p;
             
    @@ -521,7 +521,7 @@
         /*
          * Initialisation
          */
    -__initfunc(static void sun3fb_init_fb(int fbtype, unsigned long addr))
    +static void __init sun3fb_init_fb(int fbtype, unsigned long addr)
     {
             static struct linux_sbus_device sdb;
             struct fb_fix_screeninfo *fix;
    @@ -648,7 +648,7 @@
     }
     
     
    -__initfunc(int sun3fb_init(void))
    +int __init sun3fb_init(void)
     {
             extern int con_is_present(void);
             unsigned long addr;

    -- 
    Regards,
            Rasmus(rasmus@jaquet.dk)
    

    "Women are like a beer. They look good, they taste good, and as soon as you've had one, you want another." -Homer Simpson - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Fri Oct 06 2000 - 17:09:09 EDT