summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-01-10 12:13:46 -0500
committerAndy Walls <awalls@radix.net>2009-01-10 12:13:46 -0500
commit4394cd88c2ef58fd78f2050408d64b01b022e808 (patch)
tree83213739055d28a7d14329954d2cd0aacde5b565 /linux/drivers/media/video/cx18
parent60abee9de5ddb031c388a633e7810fec5858c845 (diff)
downloadmediapointer-dvb-s2-4394cd88c2ef58fd78f2050408d64b01b022e808.tar.gz
mediapointer-dvb-s2-4394cd88c2ef58fd78f2050408d64b01b022e808.tar.bz2
cx18: Print driver version number when logging status
From: Andy Walls <awalls@radix.net> Make sure v4l2-ctl --log-status outputs the driver version. Reported-by: David Dombroski <davedom@optonline.net> Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18')
-rw-r--r--linux/drivers/media/video/cx18/cx18-ioctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-ioctl.c b/linux/drivers/media/video/cx18/cx18-ioctl.c
index 84d6381aa..ec756a47e 100644
--- a/linux/drivers/media/video/cx18/cx18-ioctl.c
+++ b/linux/drivers/media/video/cx18/cx18-ioctl.c
@@ -813,7 +813,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;