X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=sound%2Foss%2Fau1550_ac97.c;h=81e1f443d0948b223cdfdaf4d58aeb68452e59fa;hb=5579a782ad7ffa162b1060993e4a298dd50e7a33;hp=219795171c714796df5aaa51f740abd75fad7116;hpb=5ffd1a6aaacc25be8cd0770a51ec6d46add3a276;p=linux-2.6-omap-h63xx.git diff --git a/sound/oss/au1550_ac97.c b/sound/oss/au1550_ac97.c index 219795171c7..81e1f443d09 100644 --- a/sound/oss/au1550_ac97.c +++ b/sound/oss/au1550_ac97.c @@ -47,7 +47,6 @@ #include #include #include -#include #include #include #include @@ -94,7 +93,7 @@ static struct au1550_state { spinlock_t lock; struct mutex open_mutex; struct mutex sem; - mode_t open_mode; + fmode_t open_mode; wait_queue_head_t open_wait; struct dmabuf { @@ -1354,11 +1353,11 @@ au1550_ioctl(struct inode *inode, struct file *file, unsigned int cmd, ((file->f_mode & FMODE_READ) && s->dma_adc.mapped); #ifdef DEBUG - for (count=0; count