ALSA: PCI: Replace CONFIG_PM with CONFIG_PM_SLEEP
Otherwise we may get compile warnings due to unused functions. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -1118,7 +1118,7 @@ mixer_set_input_right(struct ct_mixer *mixer,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
static int mixer_resume(struct ct_mixer *mixer)
|
||||
{
|
||||
int i, state;
|
||||
@@ -1188,7 +1188,7 @@ int ct_mixer_create(struct ct_atc *atc, struct ct_mixer **rmixer)
|
||||
mixer->get_output_ports = mixer_get_output_ports;
|
||||
mixer->set_input_left = mixer_set_input_left;
|
||||
mixer->set_input_right = mixer_set_input_right;
|
||||
#ifdef CONFIG_PM
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
mixer->resume = mixer_resume;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user