summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device.h')
-rw-r--r--device.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/device.h b/device.h
index b25d267..617a272 100644
--- a/device.h
+++ b/device.h
@@ -227,7 +227,7 @@ struct device {
struct device_hotplug_ops {
int (*prepare)(struct device *dev);
- int (*add)(struct device *main, struct device *member);
+ int (*add)(struct device *main, struct device *member, struct blob_attr *vlan);
int (*del)(struct device *main, struct device *member);
};
@@ -248,6 +248,8 @@ struct bridge_vlan {
struct bridge_vlan_port *ports;
int n_ports;
+ struct list_head hotplug_ports;
+
uint16_t vid;
bool local;
};