From: Randy Dunlap Date: Tue, 18 May 2010 19:26:27 +0000 (-0700) Subject: bridge: fix build for CONFIG_SYSFS disabled X-Git-Tag: v2.6.35-rc1~473^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3bcb72edb29c52fb0a065d5b1c7cf40ed9287f4;p=pandora-kernel.git bridge: fix build for CONFIG_SYSFS disabled Fix build when CONFIG_SYSFS is not enabled: net/bridge/br_if.c:136: error: 'struct net_bridge_port' has no member named 'sysfs_name' Note: dev->name == sysfs_name except when change name is in progress, and we are protected from that by RTNL mutex. Signed-off-by: Randy Dunlap Acked-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed