V4L/DVB (10279): cx18: Print driver version number when logging status

Make sure v4l2-ctl --log-status outputs the driver version.

Reported-by: David Dombroski <davedom@optonline.net>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Andy Walls 2009-01-10 14:13:46 -03:00 committed by Mauro Carvalho Chehab
parent 350145a4f7
commit e0f28b6a69
1 changed files with 3 additions and 1 deletions

View File

@ -708,7 +708,9 @@ static int cx18_log_status(struct file *file, void *fh)
struct v4l2_audio audin;
int i;
CX18_INFO("================= START STATUS CARD #%d =================\n", cx->num);
CX18_INFO("================= START STATUS CARD #%d "
"=================\n", cx->num);
CX18_INFO("Version: %s Card: %s\n", CX18_VERSION, cx->card_name);
if (cx->hw_flags & CX18_HW_TVEEPROM) {
struct tveeprom tv;