aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/device.h4
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;
34struct class_private; 34struct class_private;
35struct bus_type; 35struct bus_type;
36struct bus_type_private; 36struct bus_type_private;
37struct device_node;
37 38
38struct bus_attribute { 39struct 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