]> err.no Git - linux-2.6/blobdiff - include/linux/device.h
[PATCH] sysfs and driver core: add callback helper, used by SCSI and S390
[linux-2.6] / include / linux / device.h
index 39a3199a826db2726e60475195f64f03465c5acb..caad9bba965277f7abe77c25f234e7b3c3d07f3f 100644 (file)
@@ -353,6 +353,8 @@ extern int __must_check device_create_bin_file(struct device *dev,
                                               struct bin_attribute *attr);
 extern void device_remove_bin_file(struct device *dev,
                                   struct bin_attribute *attr);
+extern int device_schedule_callback(struct device *dev,
+               void (*func)(struct device *));
 
 /* device resource management */
 typedef void (*dr_release_t)(struct device *dev, void *res);