forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/video/fbdev/aty/mach64_cursor.c
....@@ -194,7 +194,7 @@
194194 return 0;
195195 }
196196
197
-int aty_init_cursor(struct fb_info *info)
197
+int aty_init_cursor(struct fb_info *info, struct fb_ops *atyfb_ops)
198198 {
199199 unsigned long addr;
200200
....@@ -219,7 +219,7 @@
219219 info->sprite.buf_align = 16; /* and 64 lines tall. */
220220 info->sprite.flags = FB_PIXMAP_IO;
221221
222
- info->fbops->fb_cursor = atyfb_cursor;
222
+ atyfb_ops->fb_cursor = atyfb_cursor;
223223
224224 return 0;
225225 }