aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-19 22:17:30 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-19 22:17:30 -0400
commit7cd9c9bb57476167e83b7780dbc06d1dd601789d (patch)
treeafcf43a6d5e4661306676ebcd08224906170b578 /include/linux/device.h
parent591bfc6bf9e5e25e464fd4c87d64afd5135667c4 (diff)
Revert "driver core: check start node in klist_iter_init_node"
This reverts commit a15d49fd3094cff90e5410ca454a870e0a722fe1 as that patch broke the build. Cc: Hannes Reinecke <hare@suse.de> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 50429b911b21..5ad17cccdd71 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -128,7 +128,7 @@ struct subsys_dev_iter {
128 struct klist_iter ki; 128 struct klist_iter ki;
129 const struct device_type *type; 129 const struct device_type *type;
130}; 130};
131int subsys_dev_iter_init(struct subsys_dev_iter *iter, 131void subsys_dev_iter_init(struct subsys_dev_iter *iter,
132 struct bus_type *subsys, 132 struct bus_type *subsys,
133 struct device *start, 133 struct device *start,
134 const struct device_type *type); 134 const struct device_type *type);
@@ -380,10 +380,10 @@ int class_compat_create_link(struct class_compat *cls, struct device *dev,
380void class_compat_remove_link(struct class_compat *cls, struct device *dev, 380void class_compat_remove_link(struct class_compat *cls, struct device *dev,
381 struct device *device_link); 381 struct device *device_link);
382 382
383extern int class_dev_iter_init(struct class_dev_iter *iter, 383extern void class_dev_iter_init(struct class_dev_iter *iter,
384 struct class *class, 384 struct class *class,
385 struct device *start, 385 struct device *start,
386 const struct device_type *type); 386 const struct device_type *type);
387extern struct device *class_dev_iter_next(struct class_dev_iter *iter); 387extern struct device *class_dev_iter_next(struct class_dev_iter *iter);
388extern void class_dev_iter_exit(struct class_dev_iter *iter); 388extern void class_dev_iter_exit(struct class_dev_iter *iter);
389 389