git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
sound
/
synth
/
emux
/
emux_hwdep.c
diff --git
a/sound/synth/emux/emux_hwdep.c
b/sound/synth/emux/emux_hwdep.c
index
e145148
..
4182b44
100644
(file)
--- a/
sound/synth/emux/emux_hwdep.c
+++ b/
sound/synth/emux/emux_hwdep.c
@@
-104,7
+104,7
@@
snd_emux_hwdep_misc_mode(snd_emux_t *emu, void __user *arg)
static int
snd_emux_hwdep_ioctl(snd_hwdep_t * hw, struct file *file, unsigned int cmd, unsigned long arg)
{
static int
snd_emux_hwdep_ioctl(snd_hwdep_t * hw, struct file *file, unsigned int cmd, unsigned long arg)
{
- snd_emux_t *emu =
snd_magic_cast(snd_emux_t, hw->private_data, return -ENXIO)
;
+ snd_emux_t *emu =
hw->private_data
;
switch (cmd) {
case SNDRV_EMUX_IOCTL_VERSION:
switch (cmd) {
case SNDRV_EMUX_IOCTL_VERSION: