driver-core: Add device node pointer to struct device
[deliverable/linux.git] / include / linux / device.h
index 182192892d45cf6db1e0c2cacb5a96835084a36d..7a968bdb02e21a9acf150113e3171e933c5b8896 100644 (file)
@@ -34,6 +34,7 @@ struct class;
 struct class_private;
 struct bus_type;
 struct bus_type_private;
+struct device_node;
 
 struct bus_attribute {
        struct attribute        attr;
@@ -433,6 +434,9 @@ struct device {
                                             override */
        /* arch specific additions */
        struct dev_archdata     archdata;
+#ifdef CONFIG_OF
+       struct device_node      *of_node;
+#endif
 
        dev_t                   devt;   /* dev_t, creates the sysfs "dev" */
 
This page took 0.027034 seconds and 5 git commands to generate.