]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/hvsi.c
USB: use a real vendor and product id for root hubs
[linux-2.6-omap-h63xx.git] / drivers / char / hvsi.c
index d7806834fc171ad07f08c90f0e5b20a30c000987..d5a752da322f855261a06c9aacb93636fb57d1f9 100644 (file)
@@ -39,7 +39,6 @@
 #include <linux/module.h>
 #include <linux/major.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
 #include <linux/spinlock.h>
 #include <linux/sysrq.h>
 #include <linux/tty.h>
@@ -1280,8 +1279,8 @@ static int __init hvsi_console_init(void)
                struct hvsi_struct *hp;
                const uint32_t *vtermno, *irq;
 
-               vtermno = get_property(vty, "reg", NULL);
-               irq = get_property(vty, "interrupts", NULL);
+               vtermno = of_get_property(vty, "reg", NULL);
+               irq = of_get_property(vty, "interrupts", NULL);
                if (!vtermno || !irq)
                        continue;