]> err.no Git - linux-2.6/blobdiff - drivers/video/hpfb.c
Merge branch 'master'
[linux-2.6] / drivers / video / hpfb.c
index e97fe8481d59f5b52c17b052dcebd24783c7ca3b..abd920a663a04a2fbbfd8446c1183af83ebf7228 100644 (file)
@@ -193,7 +193,6 @@ static struct fb_ops hpfb_ops = {
        .fb_fillrect    = hpfb_fillrect,
        .fb_copyarea    = hpfb_copyarea,
        .fb_imageblit   = cfb_imageblit,
-       .fb_cursor      = soft_cursor,
        .fb_sync        = hpfb_sync,
 };
 
@@ -387,7 +386,9 @@ int __init hpfb_init(void)
        if (fb_get_options("hpfb", NULL))
                return -ENODEV;
 
-       dio_module_init(&hpfb_driver);
+       err = dio_register_driver(&hpfb_driver);
+       if (err)
+               return err;
 
        fs = get_fs();
        set_fs(KERNEL_DS);