lkml.org 
[lkml]   [2003]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] Fix InitStruct types on cs46xx driver
    Detected when using gcc 3.3.

    --
    Eduardo


    diff -purN linux-2.4.orig/drivers/sound/cs46xx.c linux-2.4/drivers/sound/cs46xx.c
    --- linux-2.4.orig/drivers/sound/cs46xx.c 2003-05-22 20:13:12.000000000 -0300
    +++ linux-2.4/drivers/sound/cs46xx.c 2003-05-22 20:13:12.000000000 -0300
    @@ -947,8 +947,8 @@ static void cs_play_setup(struct cs_stat

    struct InitStruct
    {
    - u32 long off;
    - u32 long val;
    + u32 off;
    + u32 val;
    } InitArray[] = { {0x00000040, 0x3fc0000f},
    {0x0000004c, 0x04800000},
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 13:35    [W:0.021 / U:0.088 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site