aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/intel8x0m.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-08-14 12:12:04 -0400
committerTakashi Iwai <tiwai@suse.de>2012-08-14 12:12:04 -0400
commitc7561cd80469f2fe4a6be0984db57832ee7f2a3b (patch)
tree02ce843b7caed4d41ef6d17450e6b05b96c94952 /sound/pci/intel8x0m.c
parent7ccbde57ce312ff1388c2990699f8863280808ac (diff)
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/intel8x0m.c')
-rw-r--r--sound/pci/intel8x0m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c
index da44bb3f8e7a..4d551736531e 100644
--- a/sound/pci/intel8x0m.c
+++ b/sound/pci/intel8x0m.c
@@ -1008,7 +1008,7 @@ static int snd_intel8x0m_free(struct intel8x0m *chip)
1008 return 0; 1008 return 0;
1009} 1009}
1010 1010
1011#ifdef CONFIG_PM 1011#ifdef CONFIG_PM_SLEEP
1012/* 1012/*
1013 * power management 1013 * power management
1014 */ 1014 */
@@ -1067,7 +1067,7 @@ static SIMPLE_DEV_PM_OPS(intel8x0m_pm, intel8x0m_suspend, intel8x0m_resume);
1067#define INTEL8X0M_PM_OPS &intel8x0m_pm 1067#define INTEL8X0M_PM_OPS &intel8x0m_pm
1068#else 1068#else
1069#define INTEL8X0M_PM_OPS NULL 1069#define INTEL8X0M_PM_OPS NULL
1070#endif /* CONFIG_PM */ 1070#endif /* CONFIG_PM_SLEEP */
1071 1071
1072#ifdef CONFIG_PROC_FS 1072#ifdef CONFIG_PROC_FS
1073static void snd_intel8x0m_proc_read(struct snd_info_entry * entry, 1073static void snd_intel8x0m_proc_read(struct snd_info_entry * entry,