V4L/DVB (10279): cx18: Print driver version number when logging status
authorAndy Walls <awalls@radix.net>
Sat, 10 Jan 2009 17:13:46 +0000 (14:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:25 +0000 (12:42 -0300)
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>
drivers/media/video/cx18/cx18-ioctl.c

index 7086aaba77d677ed5cc9f8d697b0206be56d4f17..f38ca207cad23d073aa7fc9de1cd1565b459181b 100644 (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;