diff --git a/include/linux/device.h b/include/linux/device.h index 662e6a10144e5b453b2ad11b02fc7314bd33816e..9d4f6a9639365bd6e2483ed911ea336a9e83caa0 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -393,7 +393,7 @@ extern void device_unregister(struct device * dev); extern void device_initialize(struct device * dev); extern int __must_check device_add(struct device * dev); extern void device_del(struct device * dev); -extern int __must_check device_for_each_child(struct device *, void *, +extern int device_for_each_child(struct device *, void *, int (*fn)(struct device *, void *)); extern int device_rename(struct device *dev, char *new_name);