]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/clps711xfb.c
clocksource: check range
[linux-2.6-omap-h63xx.git] / drivers / video / clps711xfb.c
index dea6579941b7390ffe5581d9076ec72ac24986ca..16f5db471ab5e4f63aeb68746351770515e54bbf 100644 (file)
 #include <linux/proc_fs.h>
 #include <linux/delay.h>
 
-#include <asm/hardware.h>
+#include <mach/hardware.h>
 #include <asm/mach-types.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #include <asm/hardware/clps7111.h>
-#include <asm/arch/syspld.h>
+#include <mach/syspld.h>
 
 struct fb_info *cfb;
 
@@ -381,7 +381,7 @@ int __init clps711xfb_init(void)
 
        /* Register the /proc entries. */
        clps7111fb_backlight_proc_entry = create_proc_entry("backlight", 0444,
-               &proc_root);
+               NULL);
        if (clps7111fb_backlight_proc_entry == NULL) {
                printk("Couldn't create the /proc entry for the backlight.\n");
                return -EINVAL;