diff options
author | Mike Isely <isely@pobox.com> | 2009-10-12 05:25:09 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 21:40:59 +0100 |
commit | aa976ca1dfb2e5b3fb67eeaf1ca44182ef3efcdb (patch) | |
tree | 1fd691d26f7ba5735c4db67b040f1ce73015ae89 /drivers | |
parent | V4L/DVB (13225): pvrusb2: Report hardware description to kernel log upon init... (diff) | |
download | linux-aa976ca1dfb2e5b3fb67eeaf1ca44182ef3efcdb.tar.xz linux-aa976ca1dfb2e5b3fb67eeaf1ca44182ef3efcdb.zip |
V4L/DVB (13226): pvrusb2: Add hardware description to debuginfo output
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-debugifc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-debugifc.c b/drivers/media/video/pvrusb2/pvrusb2-debugifc.c index fbe3856bdca6..010018bc8383 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-debugifc.c +++ b/drivers/media/video/pvrusb2/pvrusb2-debugifc.c @@ -142,6 +142,9 @@ int pvr2_debugifc_print_info(struct pvr2_hdw *hdw,char *buf,unsigned int acnt) { int bcnt = 0; int ccnt; + ccnt = scnprintf(buf, acnt, "Driver hardware description: %s\n", + pvr2_hdw_get_desc(hdw)); + bcnt += ccnt; acnt -= ccnt; buf += ccnt; ccnt = scnprintf(buf,acnt,"Driver state info:\n"); bcnt += ccnt; acnt -= ccnt; buf += ccnt; ccnt = pvr2_hdw_state_report(hdw,buf,acnt); |