diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-12-17 19:54:39 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-25 04:40:26 (GMT) |
commit | 43b98c4a66760d18d4056beed4078a8dbad193cc (patch) | |
tree | b460b72801ca02295d13551e64269d1a8a841a34 /net/bridge/br_private.h | |
parent | 81e7c6a636c81d9eeaeaa732bfbace44535fab00 (diff) | |
download | linux-fsl-qoriq-43b98c4a66760d18d4056beed4078a8dbad193cc.tar.xz |
Kobject: change net/bridge to use kobject_create_and_add
The kobject in the bridge code is only used for registering with sysfs,
not for any lifespan rules. This patch changes it to be only a pointer
and use the simpler api for this kind of thing.
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index f666f7b..c11b554 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -124,7 +124,7 @@ struct net_bridge struct timer_list tcn_timer; struct timer_list topology_change_timer; struct timer_list gc_timer; - struct kobject ifobj; + struct kobject *ifobj; }; extern struct notifier_block br_device_notifier; |