mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
Revert "driver core: check start node in klist_iter_init_node"
This reverts commit a15d49fd30
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>
This commit is contained in:
parent
591bfc6bf9
commit
7cd9c9bb57
6 changed files with 46 additions and 76 deletions
|
@ -128,7 +128,7 @@ struct subsys_dev_iter {
|
|||
struct klist_iter ki;
|
||||
const struct device_type *type;
|
||||
};
|
||||
int subsys_dev_iter_init(struct subsys_dev_iter *iter,
|
||||
void subsys_dev_iter_init(struct subsys_dev_iter *iter,
|
||||
struct bus_type *subsys,
|
||||
struct device *start,
|
||||
const struct device_type *type);
|
||||
|
@ -380,10 +380,10 @@ int class_compat_create_link(struct class_compat *cls, struct device *dev,
|
|||
void class_compat_remove_link(struct class_compat *cls, struct device *dev,
|
||||
struct device *device_link);
|
||||
|
||||
extern int class_dev_iter_init(struct class_dev_iter *iter,
|
||||
struct class *class,
|
||||
struct device *start,
|
||||
const struct device_type *type);
|
||||
extern void class_dev_iter_init(struct class_dev_iter *iter,
|
||||
struct class *class,
|
||||
struct device *start,
|
||||
const struct device_type *type);
|
||||
extern struct device *class_dev_iter_next(struct class_dev_iter *iter);
|
||||
extern void class_dev_iter_exit(struct class_dev_iter *iter);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue