diff options
Diffstat (limited to 'drivers/video/ps3fb.c')
-rw-r--r-- | drivers/video/ps3fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c index b3463ddcfd60..75836aa83191 100644 --- a/drivers/video/ps3fb.c +++ b/drivers/video/ps3fb.c | |||
@@ -727,7 +727,7 @@ static int ps3fb_blank(int blank, struct fb_info *info) | |||
727 | 727 | ||
728 | static int ps3fb_get_vblank(struct fb_vblank *vblank) | 728 | static int ps3fb_get_vblank(struct fb_vblank *vblank) |
729 | { | 729 | { |
730 | memset(vblank, 0, sizeof(&vblank)); | 730 | memset(vblank, 0, sizeof(*vblank)); |
731 | vblank->flags = FB_VBLANK_HAVE_VSYNC; | 731 | vblank->flags = FB_VBLANK_HAVE_VSYNC; |
732 | return 0; | 732 | return 0; |
733 | } | 733 | } |