diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-27 18:40:01 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-27 18:40:01 +0200 |
commit | 5483940df7a35d052d195a2fa1db29763f795ad0 (patch) | |
tree | a4ea566ef079b54836dc810b14bd7bfd94d6c566 /device.h | |
parent | 0b7be79bc1fe58c0c19c0c21b1200b098186432f (diff) |
add a function for adding a virtual device (not tracked in the avl tree)
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -79,6 +79,7 @@ struct device_hotplug_ops { int (*del)(struct device *main, struct device *member); }; +void init_virtual_device(struct device *dev, const struct device_type *type, const char *name); int init_device(struct device *iface, const struct device_type *type, const char *ifname); void cleanup_device(struct device *iface); struct device *get_device(const char *name, bool create); |