aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-ioctl.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-01-10 12:13:46 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:25 -0400
commite0f28b6a69b73ebf610f4f9759999bcdabdcda8e (patch)
tree086bad6dd5cb16f3a194933417eba2823e719791 /drivers/media/video/cx18/cx18-ioctl.c
parent350145a4f7d0edffdccdace1221efc6d1d362a36 (diff)
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>
Diffstat (limited to 'drivers/media/video/cx18/cx18-ioctl.c')
-rw-r--r--drivers/media/video/cx18/cx18-ioctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-ioctl.c b/drivers/media/video/cx18/cx18-ioctl.c
index 7086aaba77d6..f38ca207cad2 100644
--- a/drivers/media/video/cx18/cx18-ioctl.c
+++ b/drivers/media/video/cx18/cx18-ioctl.c
@@ -708,7 +708,9 @@ static int cx18_log_status(struct file *file, void *fh)
708 struct v4l2_audio audin; 708 struct v4l2_audio audin;
709 int i; 709 int i;
710 710
711 CX18_INFO("================= START STATUS CARD #%d =================\n", cx->num); 711 CX18_INFO("================= START STATUS CARD #%d "
712 "=================\n", cx->num);
713 CX18_INFO("Version: %s Card: %s\n", CX18_VERSION, cx->card_name);
712 if (cx->hw_flags & CX18_HW_TVEEPROM) { 714 if (cx->hw_flags & CX18_HW_TVEEPROM) {
713 struct tveeprom tv; 715 struct tveeprom tv;
714 716