Commit e6d0a0a2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] mark the `planb' video driver broken

From: Christoph Hellwig <hch@lst.de>

This one is missing updates from the v4l1 interfaces in 2.4 to the 2.6ish
v4l2 and thus doesn't compile.  While we're at it also remove the
MOD_{INC,DEC}_USE_COUNT calls in it that were bogus even in 2.4 to avoid
false positives in grep.
parent 96595459
......@@ -33,7 +33,7 @@ config VIDEO_PMS
config VIDEO_PLANB
tristate "PlanB Video-In on PowerMac"
depends on PPC_PMAC && VIDEO_DEV
depends on PPC_PMAC && VIDEO_DEV && BROKEN
help
PlanB is the V4L driver for the PowerMac 7x00/8x00 series video
input hardware. If you want to experiment with this, say Y.
......
......@@ -1383,8 +1383,6 @@ static int planb_open(struct video_device *dev, int mode)
pb->user++;
DEBUG("PlanB: device opened\n");
MOD_INC_USE_COUNT;
return 0;
}
......@@ -1407,8 +1405,6 @@ static void planb_close(struct video_device *dev)
planb_unlock(pb);
DEBUG("PlanB: device closed\n");
MOD_DEC_USE_COUNT;
}
static long planb_read(struct video_device *v, char *buf, unsigned long count,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment