git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] PCM midlevel & PCM OSS - make procfs & OSS plugin code optional
[pandora-kernel.git]
/
sound
/
core
/
oss
/
rate.c
diff --git
a/sound/core/oss/rate.c
b/sound/core/oss/rate.c
index
4854cef
..
c4b75bf
100644
(file)
--- a/
sound/core/oss/rate.c
+++ b/
sound/core/oss/rate.c
@@
-20,6
+20,9
@@
*/
#include <sound/driver.h>
+
+#ifdef CONFIG_SND_PCM_OSS_PLUGINS
+
#include <linux/time.h>
#include <sound/core.h>
#include <sound/pcm.h>
@@
-377,3
+380,5
@@
int snd_pcm_plugin_build_rate(struct snd_pcm_substream *plug,
*r_plugin = plugin;
return 0;
}
+
+#endif