snd_msnd ->mode is fmode_t, not mode_t
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 08:35:42 +0000 (04:35 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 16:59:29 +0000 (12:59 -0400)
we put FMODE_... in there

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
sound/isa/msnd/msnd.h

index 3773e24..a168ba3 100644 (file)
@@ -249,7 +249,7 @@ struct snd_msnd {
 
        /* State variables */
        enum { msndClassic, msndPinnacle } type;
-       mode_t mode;
+       fmode_t mode;
        unsigned long flags;
 #define F_RESETTING                    0
 #define F_HAVEDIGITAL                  1