diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-08-20 12:04:40 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-20 12:04:40 -0400 |
commit | 099d53c308f50e8ee5b6638ec3f40f0104b3ee31 (patch) | |
tree | c49fc531174c94a874d0e4f8e20f33128cb393ac /sound/pci/hda | |
parent | 8dea9d382a7aca9ebb48a80a34d7e1cf4ac8dcb2 (diff) |
ALSA: hda - Add missing ifdef CONFIG_SND_HDA_POWER_SAVE to tracepoints
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/hda_trace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_trace.h b/sound/pci/hda/hda_trace.h index 9a34b867d8c2..d42fe911abae 100644 --- a/sound/pci/hda/hda_trace.h +++ b/sound/pci/hda/hda_trace.h | |||
@@ -58,6 +58,7 @@ TRACE_EVENT(hda_bus_reset, | |||
58 | TP_printk("[%d]", __entry->card) | 58 | TP_printk("[%d]", __entry->card) |
59 | ); | 59 | ); |
60 | 60 | ||
61 | #ifdef CONFIG_SND_HDA_POWER_SAVE | ||
61 | DECLARE_EVENT_CLASS(hda_power, | 62 | DECLARE_EVENT_CLASS(hda_power, |
62 | 63 | ||
63 | TP_PROTO(struct hda_codec *codec), | 64 | TP_PROTO(struct hda_codec *codec), |
@@ -110,6 +111,7 @@ TRACE_EVENT(hda_power_count, | |||
110 | __entry->card, __entry->addr, __entry->power_count, | 111 | __entry->card, __entry->addr, __entry->power_count, |
111 | __entry->power_on, __entry->power_transition) | 112 | __entry->power_on, __entry->power_transition) |
112 | ); | 113 | ); |
114 | #endif /* CONFIG_SND_HDA_POWER_SAVE */ | ||
113 | 115 | ||
114 | TRACE_EVENT(hda_unsol_event, | 116 | TRACE_EVENT(hda_unsol_event, |
115 | 117 | ||