summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctmixer.h
diff options
context:
space:
mode:
authorTakashi Iwai2012-08-14 18:12:04 +0200
committerTakashi Iwai2012-08-14 18:12:04 +0200
commitc7561cd80469f2fe4a6be0984db57832ee7f2a3b (patch)
tree02ce843b7caed4d41ef6d17450e6b05b96c94952 /sound/pci/ctxfi/ctmixer.h
parentALSA: hda - Fix possible compile warnings regarding CONFIG_PM (diff)
downloadkernel-qcow2-linux-c7561cd80469f2fe4a6be0984db57832ee7f2a3b.tar.gz
kernel-qcow2-linux-c7561cd80469f2fe4a6be0984db57832ee7f2a3b.tar.xz
kernel-qcow2-linux-c7561cd80469f2fe4a6be0984db57832ee7f2a3b.zip
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>
Diffstat (limited to 'sound/pci/ctxfi/ctmixer.h')
-rw-r--r--sound/pci/ctxfi/ctmixer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ctxfi/ctmixer.h b/sound/pci/ctxfi/ctmixer.h
index b009e989e77d..be881c639fee 100644
--- a/sound/pci/ctxfi/ctmixer.h
+++ b/sound/pci/ctxfi/ctmixer.h
@@ -56,7 +56,7 @@ struct ct_mixer {
enum MIXER_PORT_T type, struct rsc *rsc);
int (*set_input_right)(struct ct_mixer *mixer,
enum MIXER_PORT_T type, struct rsc *rsc);
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
int (*resume)(struct ct_mixer *mixer);
#endif
};