lkml.org 
[lkml]   [2002]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.5.5-dj2 opl3sa2 as module compile failure
    On Wed, 27 Feb 2002, Brett wrote:

    >
    > Hey,
    >
    > something fun for you all...

    Here you go, don't know how that slipped by ^_^

    Regards,
    Zwane

    Diffed against 2.5.5-dj2

    --- linux-2.5.5-pre1/sound/oss/opl3sa2.c.orig Wed Feb 27 15:43:25 2002
    +++ linux-2.5.5-pre1/sound/oss/opl3sa2.c Wed Feb 27 15:45:12 2002
    @@ -1140,11 +1140,11 @@

    for(card = 0; card < opl3sa2_cards_num; card++) {
    #ifdef CONFIG_PM
    - if (opl3sa2_data[card].pmdev)
    - pm_unregister(opl3sa2_data[card].pmdev);
    + if (opl3sa2_state[card].pmdev)
    + pm_unregister(opl3sa2_state[card].pmdev);
    #endif
    - if(cfg_mpu[card].slots[1] != -1) {
    - unload_opl3sa2_mpu(&cfg_mpu[card]);
    + if(opl3sa2_state[card].cfg_mpu.slots[1] != -1) {
    + unload_opl3sa2_mpu(&opl3sa2_state[card].cfg_mpu);
    }
    unload_opl3sa2_mss(&opl3sa2_state[card].cfg_mss);
    unload_opl3sa2(&opl3sa2_state[card].cfg, card);
    -
    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:24    [W:0.021 / U:1.944 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site