aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index a3ef5a2d4fbb..de178712e02c 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -470,12 +470,11 @@ extern struct device *device_create_vargs(struct class *cls,
470 void *drvdata, 470 void *drvdata,
471 const char *fmt, 471 const char *fmt,
472 va_list vargs); 472 va_list vargs);
473extern struct device *device_create_drvdata(struct class *cls, 473extern struct device *device_create(struct class *cls, struct device *parent,
474 struct device *parent, 474 dev_t devt, void *drvdata,
475 dev_t devt, 475 const char *fmt, ...)
476 void *drvdata,
477 const char *fmt, ...)
478 __attribute__((format(printf, 5, 6))); 476 __attribute__((format(printf, 5, 6)));
477#define device_create_drvdata device_create
479extern void device_destroy(struct class *cls, dev_t devt); 478extern void device_destroy(struct class *cls, dev_t devt);
480 479
481/* 480/*