]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
V4L/DVB (6755): Avoid troubles when using multiple devices
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 10 Dec 2007 07:43:38 +0000 (04:43 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:22 +0000 (19:03 -0200)
commit025341d4f0caa58f0e5eddbffd11d44e37cff974
tree393d3b20eeef7c12172b4955d060efc8af4651ec
parent55712ff7e06b721fbeebd36499bad4a11b7d8327
V4L/DVB (6755): Avoid troubles when using multiple devices

mv_count is a counter used to move the vertical bars. Before this patch, it
where a static var. This works fine for just one device. However, when using
multiple devices, every device would increment it.

This patch moves it to its correct place: struct vivi_dev. So, now, each device
has its own data.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/vivi.c