lkml.org 
[lkml]   [2004]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[Compile Regression in 2.4.25-pre8][PATCH 18/42]

    Fix compilation when compiled as module.


    diff -Nru -X dontdiff linux-2.4-vanilla/include/asm-i386/hc_sl811-hw.h linux-2.4/include/asm-i386/hc_sl811-hw.h
    --- linux-2.4-vanilla/include/asm-i386/hc_sl811-hw.h Tue Nov 11 17:51:39 2003
    +++ linux-2.4/include/asm-i386/hc_sl811-hw.h Sat Jan 31 17:47:43 2004
    @@ -20,11 +20,11 @@

    */

    -#ifdef MODULE
    -
    #define MAX_CONTROLERS 2 /* Max number of SL811 controllers per module */
    static int io_base = 0x220;
    static int irq = 12;
    +
    +#ifdef MODULE

    MODULE_PARM(io_base,"i");
    MODULE_PARM_DESC(io_base,"sl811 base address 0x220");
    --
    Reply-To: kronos@kronoz.cjb.net
    Home: http://kronoz.cjb.net
    I went to God just to see
    And I was looking at me
    Saw heaven and hell were lies
    When I'm God everyone dies
    -
    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 14:00    [W:5.171 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site