diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-11-04 01:47:13 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-11-04 01:47:13 +0100 |
commit | b6d7a8bc9822667cb851bec465c3ad7cd6714e90 (patch) | |
tree | aa678109a8dc43e36f77a5a3f5610681e1037370 /device.h | |
parent | bb12877893467f7f7f7540e9f9fa7b3bc59e7748 (diff) |
add a hotplug op for preparing an interface bridge so that it's ready when an external process adds interfaces
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -111,6 +111,7 @@ struct device { }; struct device_hotplug_ops { + int (*prepare)(struct device *dev); int (*add)(struct device *main, struct device *member); int (*del)(struct device *main, struct device *member); }; |