aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index f207a8f49f80..bd5931e89f74 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -938,6 +938,11 @@ extern __printf(5, 6)
938struct device *device_create(struct class *cls, struct device *parent, 938struct device *device_create(struct class *cls, struct device *parent,
939 dev_t devt, void *drvdata, 939 dev_t devt, void *drvdata,
940 const char *fmt, ...); 940 const char *fmt, ...);
941extern __printf(6, 7)
942struct device *device_create_with_groups(struct class *cls,
943 struct device *parent, dev_t devt, void *drvdata,
944 const struct attribute_group **groups,
945 const char *fmt, ...);
941extern void device_destroy(struct class *cls, dev_t devt); 946extern void device_destroy(struct class *cls, dev_t devt);
942 947
943/* 948/*