#include <linux/netdevice.h>
#include <linux/i2c.h>
+#ifdef CONFIG_DEVFS_FS
+#include <linux/devfs_fs_kernel.h>
+#endif
+
#include <linux/dvb/video.h>
#include <linux/dvb/audio.h>
#include <linux/dvb/dmx.h>
#include <linux/dvb/ca.h>
#include <linux/dvb/osd.h>
#include <linux/dvb/net.h>
-#include <linux/mutex.h>
#include "dvbdev.h"
#include "demux.h"
/* DEBI and polled command interface */
spinlock_t debilock;
- struct mutex dcomlock;
+ struct semaphore dcomlock;
volatile int debitype;
volatile int debilen;
int osdwin; /* currently active window */
u16 osdbpp[8];
- struct mutex osd_mutex;
+ struct semaphore osd_sema;
/* CA */
struct tasklet_struct vpe_tasklet;
int fe_synced;
- struct mutex pid_mutex;
+ struct semaphore pid_mutex;
int video_blank;
struct video_status videostate;