Commit e0f28b6a authored by Andy Walls's avatar Andy Walls Committed by Mauro Carvalho Chehab
Browse files

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



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

Reported-by: default avatarDavid Dombroski <davedom@optonline.net>
Signed-off-by: default avatarAndy Walls <awalls@radix.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 350145a4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;