lkml.org 
[lkml]   [1999]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subjectvideodev.[ch] patch.
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:0.020 / U:3.744 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site