diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 182192892d45..7a968bdb02e2 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -34,6 +34,7 @@ struct class; | |||
34 | struct class_private; | 34 | struct class_private; |
35 | struct bus_type; | 35 | struct bus_type; |
36 | struct bus_type_private; | 36 | struct bus_type_private; |
37 | struct device_node; | ||
37 | 38 | ||
38 | struct bus_attribute { | 39 | struct bus_attribute { |
39 | struct attribute attr; | 40 | struct attribute attr; |
@@ -433,6 +434,9 @@ struct device { | |||
433 | override */ | 434 | override */ |
434 | /* arch specific additions */ | 435 | /* arch specific additions */ |
435 | struct dev_archdata archdata; | 436 | struct dev_archdata archdata; |
437 | #ifdef CONFIG_OF | ||
438 | struct device_node *of_node; | ||
439 | #endif | ||
436 | 440 | ||
437 | dev_t devt; /* dev_t, creates the sysfs "dev" */ | 441 | dev_t devt; /* dev_t, creates the sysfs "dev" */ |
438 | 442 | ||