]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/hecubafb.c
libata: suppress two warnings
[linux-2.6-omap-h63xx.git] / drivers / video / hecubafb.c
index 3ec0e97f36e45522bb8027908d7cc9b8a2f28304..94e0df8a6f60bc9b80d05586b1337fad1006cc47 100644 (file)
@@ -45,7 +45,7 @@
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/list.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 /* Apollo controller specific defines */
 #define APOLLO_START_NEW_IMG   0xA0
@@ -309,6 +309,7 @@ static ssize_t hecubafb_write(struct fb_info *info, const char __user *buf,
 
 static struct fb_ops hecubafb_ops = {
        .owner          = THIS_MODULE,
+       .fb_read        = fb_sys_read,
        .fb_write       = hecubafb_write,
        .fb_fillrect    = hecubafb_fillrect,
        .fb_copyarea    = hecubafb_copyarea,