• Jaroslav Kysela's avatar
    [ALSA] driver model type fixes for ALSA · f285aed4
    Jaroslav Kysela authored
    SA11xx UDA1341 driver,Control Midlevel,ALSA Core,Digigram VX core
    ES18xx driver,OPL3SA2 driver,AD1848 driver,CS4231 driver,ATIIXP driver
    ATIIXP-modem driver,CS4281 driver,ES1938 driver,ES1968 driver
    Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,VIA82xx driver
    VIA82xx-modem driver,ALI5451 driver,CS46xx driver,HDA Codec driver
    HDA Intel driver,NM256 driver,Trident driver,YMFPCI driver
    PDAudioCF driver,Digigram VX Pocket driver,PPC PMAC driver
    Fixes by Pavel Machek <pavel@suse.cz>:
    suspend() routines no longer get u32 as their parameter (they get
    pm_message_t, which is u32 for now, but will change in 2.6.12 or
    so). This fixes ALSA to notice this, and uses constants with right
    types where appropriate. It results in no code changes. [Best results
    will be when patching against latest -mm, you may get some warnings if
    you patch it into older kernel, but it should still do the right
    thing.] Please apply,
    							Pavel
    
    [In addition, suspend callback type is changed to follow to the standard
     style taking no state argument -- Takashi]
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    f285aed4
ad1848_lib.c 37.3 KB