]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/hpfb.c
LIS3LV02Dx: remove unused #include <version.h>
[linux-2.6-omap-h63xx.git] / drivers / video / hpfb.c
index b18486ad8e17fc11fbea0d9c9e657602c10a13da..b8ebff1e8493e2290b21530ad5086b5d55172089 100644 (file)
@@ -207,7 +207,8 @@ static struct fb_ops hpfb_ops = {
 #define HPFB_FBOMSB    0x5d    /* Frame buffer offset          */
 #define HPFB_FBOLSB    0x5f
 
-static int __init hpfb_init_one(unsigned long phys_base, unsigned long virt_base)
+static int __devinit hpfb_init_one(unsigned long phys_base,
+                                  unsigned long virt_base)
 {
        unsigned long fboff, fb_width, fb_height, fb_start;
 
@@ -381,7 +382,7 @@ int __init hpfb_init(void)
 #define INTFBPADDR 0x560000
 
        if (!MACH_IS_HP300)
-               return -ENXIO;
+               return -ENODEV;
 
        if (fb_get_options("hpfb", NULL))
                return -ENODEV;