diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-11-07 03:06:05 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-07 03:06:05 -0500 |
commit | 63cf123bf5d538a066e4a899390c9ce56ab6df9f (patch) | |
tree | 00a5e6eabcfdd310247018188f8ebe35b8b6f1ba /include | |
parent | 6834d7ce224a6f6a1dd05da3a867730c40943154 (diff) | |
parent | fcef7836a31c6432b41a38867d413ed3d6aa8261 (diff) |
Merge branch 'topic/fix/misc' into topic/misc
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/core.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index e5eec5f73502..7e5589472681 100644 --- a/include/sound/core.h +++ b/include/sound/core.h | |||
@@ -388,9 +388,13 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...) | |||
388 | 388 | ||
389 | #else /* !CONFIG_SND_DEBUG */ | 389 | #else /* !CONFIG_SND_DEBUG */ |
390 | 390 | ||
391 | #define snd_printd(fmt, args...) /* nothing */ | 391 | #define snd_printd(fmt, args...) do { } while (0) |
392 | #define snd_BUG() /* nothing */ | 392 | #define snd_BUG() do { } while (0) |
393 | #define snd_BUG_ON(cond) ({/*(void)(cond);*/ 0;}) /* always false */ | 393 | static inline int __snd_bug_on(void) |
394 | { | ||
395 | return 0; | ||
396 | } | ||
397 | #define snd_BUG_ON(cond) __snd_bug_on() /* always false */ | ||
394 | 398 | ||
395 | #endif /* CONFIG_SND_DEBUG */ | 399 | #endif /* CONFIG_SND_DEBUG */ |
396 | 400 | ||