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 3773e242b58e3f80db0e5168ef08e1ba1f6b08e9..a168ba3313ac3449063edb1aacfc6654338a43b8 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