projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fs: convert core functions to zero_user_page
[powerpc.git]
/
include
/
sound
/
driver.h
diff --git
a/include/sound/driver.h
b/include/sound/driver.h
index
3f0416a
..
3c522e5
100644
(file)
--- a/
include/sound/driver.h
+++ b/
include/sound/driver.h
@@
-26,9
+26,13
@@
#include "config.h"
#endif
#include "config.h"
#endif
-#include <linux/config.h>
-#define SNDRV_CARDS 8 /* number of supported soundcards - don't change - minor numbers */
+/* number of supported soundcards */
+#ifdef CONFIG_SND_DYNAMIC_MINORS
+#define SNDRV_CARDS 32
+#else
+#define SNDRV_CARDS 8 /* don't change - minor numbers */
+#endif
#ifndef CONFIG_SND_MAJOR /* standard configuration */
#define CONFIG_SND_MAJOR 116
#ifndef CONFIG_SND_MAJOR /* standard configuration */
#define CONFIG_SND_MAJOR 116