diff options
Diffstat (limited to 'net/bridge/br_sysfs_if.c')
-rw-r--r-- | net/bridge/br_sysfs_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_sysfs_if.c b/net/bridge/br_sysfs_if.c index c51c9e42aeb3..0bc2aef8f9f3 100644 --- a/net/bridge/br_sysfs_if.c +++ b/net/bridge/br_sysfs_if.c | |||
@@ -211,7 +211,7 @@ int br_sysfs_addif(struct net_bridge_port *p) | |||
211 | struct brport_attribute **a; | 211 | struct brport_attribute **a; |
212 | int err; | 212 | int err; |
213 | 213 | ||
214 | err = sysfs_create_link(&p->kobj, &br->dev->class_dev.kobj, | 214 | err = sysfs_create_link(&p->kobj, &br->dev->dev.kobj, |
215 | SYSFS_BRIDGE_PORT_LINK); | 215 | SYSFS_BRIDGE_PORT_LINK); |
216 | if (err) | 216 | if (err) |
217 | goto out2; | 217 | goto out2; |