diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-10 19:10:33 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-10 19:10:33 -0500 |
commit | e54be894eae10eca9892e965cc9532f5d5a11767 (patch) | |
tree | 27ace4446e42058ef4813a34bf63b55a870e7a12 /include/linux/device.h | |
parent | 949f6711b83d2809d1ccb9d830155a65fdacdff9 (diff) | |
parent | c6c0ac664c86ff6408fadbed4913938c8a732e26 (diff) |
Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
* 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
driver core: Document that device_rename() is only for networking
sysfs: remove useless test from sysfs_merge_group
driver-core: merge private parts of class and bus
driver core: fix whitespace in class_attr_string
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index d96af9701d60..1bf5cf0b4513 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -30,9 +30,8 @@ struct device_private; | |||
30 | struct device_driver; | 30 | struct device_driver; |
31 | struct driver_private; | 31 | struct driver_private; |
32 | struct class; | 32 | struct class; |
33 | struct class_private; | 33 | struct subsys_private; |
34 | struct bus_type; | 34 | struct bus_type; |
35 | struct bus_type_private; | ||
36 | struct device_node; | 35 | struct device_node; |
37 | 36 | ||
38 | struct bus_attribute { | 37 | struct bus_attribute { |
@@ -65,7 +64,7 @@ struct bus_type { | |||
65 | 64 | ||
66 | const struct dev_pm_ops *pm; | 65 | const struct dev_pm_ops *pm; |
67 | 66 | ||
68 | struct bus_type_private *p; | 67 | struct subsys_private *p; |
69 | }; | 68 | }; |
70 | 69 | ||
71 | extern int __must_check bus_register(struct bus_type *bus); | 70 | extern int __must_check bus_register(struct bus_type *bus); |
@@ -214,7 +213,7 @@ struct class { | |||
214 | 213 | ||
215 | const struct dev_pm_ops *pm; | 214 | const struct dev_pm_ops *pm; |
216 | 215 | ||
217 | struct class_private *p; | 216 | struct subsys_private *p; |
218 | }; | 217 | }; |
219 | 218 | ||
220 | struct class_dev_iter { | 219 | struct class_dev_iter { |