videodev.[ch] patch.

robert@realtime.net
Tue, 19 Jan 1999 21:29:44 -0600 (CST)


In order to get the radio-rtrack2 module working under pre8, I had to
do the following:

--- linux/drivers/char/videodev.c Tue Jan 19 21:28:08 1999
+++ linux.mine/drivers/char/videodev.c Tue Jan 19 20:50:52 1999
@@ -23,6 +23,7 @@
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/videodev.h>
+#include <linux/version.h>

#if LINUX_VERSION_CODE >= 0x020100
#include <asm/uaccess.h>
@@ -31,7 +32,7 @@

#include <linux/kmod.h>

-
+#include <linux/poll.h>
#define VIDEO_NUM_DEVICES 256

/*
@@ -150,7 +151,7 @@
* frames, etc..
*/

-static unsigned int video_poll(struct file *file, poll_table * wait)
+static unsigned int video_poll(struct file *file, poll_table *wait)
{
struct video_device *vfl=video_device[MINOR(file->f_dentry->d_inode->i_rdev)];
if(vfl->poll)
--- linux/include/linux/videodev.h Tue Jan 19 21:28:15 1999
+++ linux.mine/include/linux/videodev.h Tue Jan 19 20:52:17 1999
@@ -2,6 +2,7 @@
#define __LINUX_VIDEODEV_H

#include <linux/types.h>
+#include <linux/version.h>

#ifdef __KERNEL_

robert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/