X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fdevice.h;h=caad9bba965277f7abe77c25f234e7b3c3d07f3f;hb=d9a9cdfb078d755e648d53ec25b7370f84ee5729;hp=39a3199a826db2726e60475195f64f03465c5acb;hpb=6ab27c6bf38d5ff71dafeca77b79e7c284804b75;p=linux-2.6 diff --git a/include/linux/device.h b/include/linux/device.h index 39a3199a82..caad9bba96 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -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);