From: Vlad Yasevich Date: Tue, 20 May 2014 14:59:26 +0000 (-0400) Subject: vlan: Fix build error wth vlan_get_encap_level() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~146^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1618d461ca18d40f9c3ef70598abb72e75d27ae;p=pandora-kernel.git vlan: Fix build error wth vlan_get_encap_level() The new function vlan_get_encap_level() uses vlan_dev_priv() which is only conditionally avaialble when VLAN support is enabled. Make vlan_get_encap_level() conditionally available as well. Fixes: 44a4085538c8 ("bonding: Fix stacked device detection in arp monitoring") Reported-by: Stephen Rothwell CC: Stephen Rothwell Signed-off-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed