diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-10-15 04:23:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-15 04:23:37 -0700 |
| commit | 8b290eb199620bd66049bf972ef0d995576cf3b9 (patch) | |
| tree | 3932311a724195953f992d96425dd4bed53383ea /include | |
| parent | 847c633af8a42e49030ff941fb64fb3ece6c95ef (diff) | |
[PATCH] device_register() splitup
new driverfs helpers - device_initialize/device_add and device_del.
The latter is device_unregister() sans the final put_device(). The former
is splitup of device_register() into initialization and insertion into tree.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 3290c5c40276..80a63939f924 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -329,6 +329,9 @@ dev_set_drvdata (struct device *dev, void *data) */ extern int device_register(struct device * dev); extern void device_unregister(struct device * dev); +extern void device_initialize(struct device * dev); +extern int device_add(struct device * dev); +extern void device_del(struct device * dev); /* driverfs interface for exporting device attributes */ |
