]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/softcursor.c
[PATCH] nv_i2c oops fix
[linux-2.6-omap-h63xx.git] / drivers / video / softcursor.c
index a6c5ca88d6b0dbc0ee46eb1e971495dcb6196976..229c4bc350798c45f103a475f11f80a5e3f16dfe 100644 (file)
@@ -58,13 +58,10 @@ int soft_cursor(struct fb_info *info, struct fb_cursor *cursor)
        } else 
                memcpy(src, image->data, dsize);
        
-       fb_sysmove_buf_aligned(info, &info->pixmap, dst, d_pitch, src,
-                               s_pitch, image->height);
-
+       fb_pad_aligned_buffer(dst, d_pitch, src, s_pitch, image->height);
        image->data = dst;
        info->fbops->fb_imageblit(info, image);
        kfree(src);
-
        return 0;
 }