|
@@ -156,6 +156,10 @@ extern int __must_check driver_create_file(struct device_driver *,
|
|
struct driver_attribute *);
|
|
struct driver_attribute *);
|
|
extern void driver_remove_file(struct device_driver *, struct driver_attribute *);
|
|
extern void driver_remove_file(struct device_driver *, struct driver_attribute *);
|
|
|
|
|
|
|
|
+extern int __must_check driver_add_kobj(struct device_driver *drv,
|
|
|
|
+ struct kobject *kobj,
|
|
|
|
+ const char *fmt, ...);
|
|
|
|
+
|
|
extern int __must_check driver_for_each_device(struct device_driver * drv,
|
|
extern int __must_check driver_for_each_device(struct device_driver * drv,
|
|
struct device *start, void *data,
|
|
struct device *start, void *data,
|
|
int (*fn)(struct device *, void *));
|
|
int (*fn)(struct device *, void *));
|