V4L/DVB (11081): au0828: make sure v4l2_device name is unique
authorDevin Heitmueller <dheitmueller@linuxtv.org>
Thu, 12 Mar 2009 00:58:04 +0000 (21:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:27 +0000 (12:43 -0300)
commite13ce79734348610a2b782cb818db65659b0dc83
tree41b70ab7cfd93b553ce3c0cb59dd75a187396887
parentb14667f32ad0f85f986847ef65f9f3d12a44b71a
V4L/DVB (11081): au0828: make sure v4l2_device name is unique

Make sure newly created v4l2 devices have a unique name, modeling the logic
after the cx18 driver.

Thanks to Andy Walls <awalls@radix.net> for pointing out the issue.

Signed-off-by: Devin Heitmueller <dheitmueller@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/au0828/au0828-core.c