--- zzzz-none-000/linux-2.4.17/drivers/media/video/planb.c 2001-10-25 20:53:47.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/drivers/media/video/planb.c 2004-11-24 13:22:46.000000000 +0000 @@ -25,7 +25,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: planb.c,v 1.18 1999/05/02 17:36:34 mlan Exp $ */ +/* $Id: planb.c,v 1.1.1.1 2003/06/23 22:18:27 jharrell Exp $ */ #include #include @@ -90,11 +90,10 @@ static int planb_open(struct video_device *, int); static void planb_close(struct video_device *); static int planb_ioctl(struct video_device *, unsigned int, void *); -static int planb_init_done(struct video_device *); static int planb_mmap(struct video_device *, const char *, unsigned long); static void planb_irq(int, void *, struct pt_regs *); static void release_planb(void); -int init_planbs(struct video_init *); +static int init_planbs(void); /* ------------------ PlanB Internal Functions ------------------ */ static int planb_prepare_open(struct planb *); @@ -2079,7 +2078,6 @@ #endif pb->tab_size = PLANB_MAXLINES + 40; pb->suspend = 0; - pb->lock = 0; init_MUTEX(&pb->lock); pb->ch1_cmd = 0; pb->ch2_cmd = 0;