]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/hpfb.c
[ALSA] hda: fix typo for xw4400 PCI sub-ID
[linux-2.6-omap-h63xx.git] / drivers / video / hpfb.c
index bebdac59d231330c353940a009ba612807f4de37..91cf3b577d156c4b78dea835d24b80b61461634f 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/errno.h>
 #include <linux/string.h>
 #include <linux/mm.h>
-#include <linux/tty.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include <linux/init.h>
@@ -386,7 +385,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);