add a hotplug op for preparing an interface bridge so that it's ready when an externa...
[project/netifd.git] / device.h
index a3728f3..0d9e6f4 100644 (file)
--- a/device.h
+++ b/device.h
@@ -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);
 };