]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/of_device.h
mm: introduce non panic alloc_bootmem
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / of_device.h
index 93262f2546adc2d511925dce83290e870e35887d..3c123990ca2e0f3db95b03c939e62a6e6050df30 100644 (file)
@@ -17,8 +17,10 @@ struct of_device
        struct device           dev;            /* Generic device interface */
 };
 
-extern ssize_t of_device_get_modalias(struct of_device *ofdev,
-                                       char *str, ssize_t len);
+extern struct of_device *of_device_alloc(struct device_node *np,
+                                        const char *bus_id,
+                                        struct device *parent);
+
 extern int of_device_uevent(struct device *dev,
                            struct kobj_uevent_env *env);