aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2006-11-16 09:42:07 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-01 17:52:01 -0500
commit5ab699810d46011ad2195c5916f3cbc684bfe3ee (patch)
tree991f6d4f502fd7871766b51a94a0e3ab33aadd62 /include
parent035ed7a49447bc8e15d4d9316fc6a359b2d94333 (diff)
driver core: Introduce device_find_child().
Introduce device_find_child() to match device_for_each_child(). Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 2d9dc358c027..0a0370c74181 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -421,6 +421,8 @@ extern int __must_check device_add(struct device * dev);
421extern void device_del(struct device * dev); 421extern void device_del(struct device * dev);
422extern int device_for_each_child(struct device *, void *, 422extern int device_for_each_child(struct device *, void *,
423 int (*fn)(struct device *, void *)); 423 int (*fn)(struct device *, void *));
424extern struct device *device_find_child(struct device *, void *data,
425 int (*match)(struct device *, void *));
424extern int device_rename(struct device *dev, char *new_name); 426extern int device_rename(struct device *dev, char *new_name);
425 427
426/* 428/*