diff options
author | David S. Miller <davem@davemloft.net> | 2008-02-23 23:38:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-23 23:38:20 -0500 |
commit | 8d3c202be23c5a915f7053ebd4e96f44700c6a62 (patch) | |
tree | e0f017aff86d3ad0b858fe85f44e11096087ed00 /include/sound | |
parent | 1b04ab4597725f75f94942da9aa40daa7b9a4bd9 (diff) | |
parent | 038eb0ea04b245351be34b0ae76b55eee4603989 (diff) |
Merge branch 'master' of ../linux-2.6/
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/opl3.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/sound/opl3.h b/include/sound/opl3.h index a0c5febdc4ea..6ba670707831 100644 --- a/include/sound/opl3.h +++ b/include/sound/opl3.h | |||
@@ -370,12 +370,13 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3, int device, int seq_device, | |||
370 | int snd_opl3_open(struct snd_hwdep * hw, struct file *file); | 370 | int snd_opl3_open(struct snd_hwdep * hw, struct file *file); |
371 | int snd_opl3_ioctl(struct snd_hwdep * hw, struct file *file, | 371 | int snd_opl3_ioctl(struct snd_hwdep * hw, struct file *file, |
372 | unsigned int cmd, unsigned long arg); | 372 | unsigned int cmd, unsigned long arg); |
373 | long snd_opl3_write(struct snd_hwdep *hw, const char __user *buf, long count, | ||
374 | loff_t *offset); | ||
375 | int snd_opl3_release(struct snd_hwdep * hw, struct file *file); | 373 | int snd_opl3_release(struct snd_hwdep * hw, struct file *file); |
376 | 374 | ||
377 | void snd_opl3_reset(struct snd_opl3 * opl3); | 375 | void snd_opl3_reset(struct snd_opl3 * opl3); |
378 | 376 | ||
377 | #if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE) | ||
378 | long snd_opl3_write(struct snd_hwdep *hw, const char __user *buf, long count, | ||
379 | loff_t *offset); | ||
379 | int snd_opl3_load_patch(struct snd_opl3 *opl3, | 380 | int snd_opl3_load_patch(struct snd_opl3 *opl3, |
380 | int prog, int bank, int type, | 381 | int prog, int bank, int type, |
381 | const char *name, | 382 | const char *name, |
@@ -384,5 +385,9 @@ int snd_opl3_load_patch(struct snd_opl3 *opl3, | |||
384 | struct fm_patch *snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank, | 385 | struct fm_patch *snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank, |
385 | int create_patch); | 386 | int create_patch); |
386 | void snd_opl3_clear_patches(struct snd_opl3 *opl3); | 387 | void snd_opl3_clear_patches(struct snd_opl3 *opl3); |
388 | #else | ||
389 | #define snd_opl3_write NULL | ||
390 | static inline void snd_opl3_clear_patches(struct snd_opl3 *opl3) {} | ||
391 | #endif | ||
387 | 392 | ||
388 | #endif /* __SOUND_OPL3_H */ | 393 | #endif /* __SOUND_OPL3_H */ |