• Gerd Knorr's avatar
    [PATCH] v4l: yet another video-buf interface update · d8d60349
    Gerd Knorr authored
    This is one more interface fix for the video-buf.c module, the first
    attempt on that wasn't that clever.  Instead of passing the driver private
    data through all function calls I've just made that an element of the
    videobuf_queue struct which is passed around everythere _anyway_.
    
    That removes some reduncancy, should be less error prone and gain me some
    points on rusty's interface design scala ;)
    
    It also fixes the tvtime crashes which where caused by overviewing one
    place to fixup in the first attempt.
    Signed-off-by: default avatarGerd Knorr <kraxel@bytesex.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    d8d60349
video-buf.c 29.1 KB