static void hecubafb_dpy_update(struct hecubafb_par *par)
{
int i;
- unsigned char *buf = par->info->screen_base;
+ unsigned char *buf = (unsigned char __force *)par->info->screen_base;
apollo_send_command(par, 0xA0);
if (count) {
char *base_addr;
- base_addr = info->screen_base;
+ base_addr = (char __force *)info->screen_base;
count -= copy_from_user(base_addr + p, buf, count);
*ppos += count;
err = -EFAULT;
if (info) {
fb_deferred_io_cleanup(info);
unregister_framebuffer(info);
- vfree(info->screen_base);
+ vfree((void __force *)info->screen_base);
framebuffer_release(info);
}
return 0;