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:
parent
350145a4f7
commit
e0f28b6a69
|
@ -708,7 +708,9 @@ static int cx18_log_status(struct file *file, void *fh)
|
||||||
struct v4l2_audio audin;
|
struct v4l2_audio audin;
|
||||||
int i;
|
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) {
|
if (cx->hw_flags & CX18_HW_TVEEPROM) {
|
||||||
struct tveeprom tv;
|
struct tveeprom tv;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue