lkml.org 
[lkml]   [2002]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] for 2.4.19-pre6
      Hi, Marcelo. The last few pre-patches have broken IDE as modules. I
    would have though this would have been fixed by now, but perhaps
    no-one else noticed. Here is a patch that fixes the problem.

    Regards,

    Richard....
    Permanent: rgooch@atnf.csiro.au
    Current: rgooch@ras.ucalgary.ca

    diff -urN linux-2.4.19-pre6/drivers/ide/ide-probe.c linux/drivers/ide/ide-probe.c
    --- linux-2.4.19-pre6/drivers/ide/ide-probe.c Sat Apr 6 14:15:17 2002
    +++ linux/drivers/ide/ide-probe.c Sun Apr 14 15:51:51 2002
    @@ -987,7 +987,6 @@
    }

    #ifdef MODULE
    -extern int (*ide_xlate_1024_hook)(kdev_t, int, int, const char *);

    int init_module (void)
    {
    @@ -997,14 +996,12 @@
    ide_unregister(index);
    ideprobe_init();
    create_proc_ide_interfaces();
    - ide_xlate_1024_hook = ide_xlate_1024;
    return 0;
    }

    void cleanup_module (void)
    {
    ide_probe = NULL;
    - ide_xlate_1024_hook = 0;
    }
    MODULE_LICENSE("GPL");
    #endif /* MODULE */
    -
    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/
    \
     
     \ /
      Last update: 2005-03-22 13:25    [W:0.021 / U:91.016 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site