Re: [PATCH] sound: opl3: Fix up opl3_synth build.

2008-02-12 Thread Takashi Iwai
At Tue, 12 Feb 2008 16:06:16 +0900,
Paul Mundt wrote:
> 
> opl3 breaks allmodconfig in current git:

The patch already presents on ALSA tree.
http://lkml.org/lkml/2008/2/11/298


thanks,

Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] sound: opl3: Fix up opl3_synth build.

2008-02-12 Thread Takashi Iwai
At Tue, 12 Feb 2008 16:06:16 +0900,
Paul Mundt wrote:
 
 opl3 breaks allmodconfig in current git:

The patch already presents on ALSA tree.
http://lkml.org/lkml/2008/2/11/298


thanks,

Takashi
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] sound: opl3: Fix up opl3_synth build.

2008-02-11 Thread Paul Mundt
opl3 breaks allmodconfig in current git:

sound/drivers/opl3/opl3_synth.c: In function `snd_opl3_find_patch':
sound/drivers/opl3/opl3_synth.c:308: error: `OPL3_PATCH_HASH_SIZE' undeclared 
(first use in this function)
sound/drivers/opl3/opl3_synth.c:308: error: (Each undeclared identifier is 
reported only once
sound/drivers/opl3/opl3_synth.c:308: error: for each function it appears in.)
sound/drivers/opl3/opl3_synth.c:311: error: structure has no member named 
`patch_table'
sound/drivers/opl3/opl3_synth.c:323: error: structure has no member named 
`patch_table'
sound/drivers/opl3/opl3_synth.c:324: error: structure has no member named 
`patch_table'
sound/drivers/opl3/opl3_synth.c: In function `snd_opl3_clear_patches':
sound/drivers/opl3/opl3_synth.c:335: error: `OPL3_PATCH_HASH_SIZE' undeclared 
(first use in this function)
sound/drivers/opl3/opl3_synth.c:337: error: structure has no member named 
`patch_table'
sound/drivers/opl3/opl3_synth.c:342: error: structure has no member named 
`patch_table'
sound/drivers/opl3/opl3_synth.c:342: error: structure has no member named 
`patch_table'
make[3]: *** [sound/drivers/opl3/opl3_synth.o] Error 1
make[2]: *** [sound/drivers/opl3] Error 2
make[1]: *** [sound/drivers] Error 2

Relevant .config options:

CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_YMFPCI_FIRMWARE_IN_KERNEL=y

Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>

---

 include/sound/opl3.h |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/sound/opl3.h b/include/sound/opl3.h
index a0c5feb..17b93d2 100644
--- a/include/sound/opl3.h
+++ b/include/sound/opl3.h
@@ -334,9 +334,6 @@ struct snd_opl3 {
struct snd_seq_device *oss_seq_dev; /* OSS sequencer device */
struct snd_midi_channel_set * oss_chset;
 #endif
- 
-#define OPL3_PATCH_HASH_SIZE   32
-   struct fm_patch *patch_table[OPL3_PATCH_HASH_SIZE];
 
struct snd_opl3_voice voices[MAX_OPL3_VOICES]; /* Voices (OPL3 
'channel') */
int use_time;   /* allocation counter */
@@ -350,6 +347,9 @@ struct snd_opl3 {
int sys_timer_status;   /* system timer run status */
spinlock_t sys_timer_lock;  /* Lock for system timer access */
 #endif
+
+#define OPL3_PATCH_HASH_SIZE   32
+   struct fm_patch *patch_table[OPL3_PATCH_HASH_SIZE];
 };
 
 /* opl3.c */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] sound: opl3: Fix up opl3_synth build.

2008-02-11 Thread Paul Mundt
opl3 breaks allmodconfig in current git:

sound/drivers/opl3/opl3_synth.c: In function `snd_opl3_find_patch':
sound/drivers/opl3/opl3_synth.c:308: error: `OPL3_PATCH_HASH_SIZE' undeclared 
(first use in this function)
sound/drivers/opl3/opl3_synth.c:308: error: (Each undeclared identifier is 
reported only once
sound/drivers/opl3/opl3_synth.c:308: error: for each function it appears in.)
sound/drivers/opl3/opl3_synth.c:311: error: structure has no member named 
`patch_table'
sound/drivers/opl3/opl3_synth.c:323: error: structure has no member named 
`patch_table'
sound/drivers/opl3/opl3_synth.c:324: error: structure has no member named 
`patch_table'
sound/drivers/opl3/opl3_synth.c: In function `snd_opl3_clear_patches':
sound/drivers/opl3/opl3_synth.c:335: error: `OPL3_PATCH_HASH_SIZE' undeclared 
(first use in this function)
sound/drivers/opl3/opl3_synth.c:337: error: structure has no member named 
`patch_table'
sound/drivers/opl3/opl3_synth.c:342: error: structure has no member named 
`patch_table'
sound/drivers/opl3/opl3_synth.c:342: error: structure has no member named 
`patch_table'
make[3]: *** [sound/drivers/opl3/opl3_synth.o] Error 1
make[2]: *** [sound/drivers/opl3] Error 2
make[1]: *** [sound/drivers] Error 2

Relevant .config options:

CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_YMFPCI_FIRMWARE_IN_KERNEL=y

Signed-off-by: Paul Mundt [EMAIL PROTECTED]

---

 include/sound/opl3.h |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/sound/opl3.h b/include/sound/opl3.h
index a0c5feb..17b93d2 100644
--- a/include/sound/opl3.h
+++ b/include/sound/opl3.h
@@ -334,9 +334,6 @@ struct snd_opl3 {
struct snd_seq_device *oss_seq_dev; /* OSS sequencer device */
struct snd_midi_channel_set * oss_chset;
 #endif
- 
-#define OPL3_PATCH_HASH_SIZE   32
-   struct fm_patch *patch_table[OPL3_PATCH_HASH_SIZE];
 
struct snd_opl3_voice voices[MAX_OPL3_VOICES]; /* Voices (OPL3 
'channel') */
int use_time;   /* allocation counter */
@@ -350,6 +347,9 @@ struct snd_opl3 {
int sys_timer_status;   /* system timer run status */
spinlock_t sys_timer_lock;  /* Lock for system timer access */
 #endif
+
+#define OPL3_PATCH_HASH_SIZE   32
+   struct fm_patch *patch_table[OPL3_PATCH_HASH_SIZE];
 };
 
 /* opl3.c */
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/