diff options
Diffstat (limited to 'drivers/media/video/ivtv/ivtvfb.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtvfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtvfb.c b/drivers/media/video/ivtv/ivtvfb.c index 3b23fc05f7c4..df789f683e63 100644 --- a/drivers/media/video/ivtv/ivtvfb.c +++ b/drivers/media/video/ivtv/ivtvfb.c | |||
@@ -532,7 +532,7 @@ static int ivtvfb_get_fix(struct ivtv *itv, struct fb_fix_screeninfo *fix) | |||
532 | 532 | ||
533 | IVTVFB_DEBUG_INFO("ivtvfb_get_fix\n"); | 533 | IVTVFB_DEBUG_INFO("ivtvfb_get_fix\n"); |
534 | memset(fix, 0, sizeof(struct fb_fix_screeninfo)); | 534 | memset(fix, 0, sizeof(struct fb_fix_screeninfo)); |
535 | strcpy(fix->id, "cx23415 TV out"); | 535 | strlcpy(fix->id, "cx23415 TV out", sizeof(fix->id)); |
536 | fix->smem_start = oi->video_pbase; | 536 | fix->smem_start = oi->video_pbase; |
537 | fix->smem_len = oi->video_buffer_size; | 537 | fix->smem_len = oi->video_buffer_size; |
538 | fix->type = FB_TYPE_PACKED_PIXELS; | 538 | fix->type = FB_TYPE_PACKED_PIXELS; |