openvswitch: Use correct config guard.

This bug was introduced by commit aa310701e7
(openvswitch: Add gre tunnel support.)

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Pravin B Shelar 2013-06-20 15:08:14 -07:00 committed by David S. Miller
parent 7c77602f57
commit 479b1a5825
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
* 02110-1301, USA * 02110-1301, USA
*/ */
#ifdef CONFIG_NET_IPGRE_DEMUX #if IS_ENABLED(CONFIG_NET_IPGRE_DEMUX)
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/if.h> #include <linux/if.h>

View File

@ -39,7 +39,7 @@ static const struct vport_ops *vport_ops_list[] = {
&ovs_netdev_vport_ops, &ovs_netdev_vport_ops,
&ovs_internal_vport_ops, &ovs_internal_vport_ops,
#ifdef CONFIG_NET_IPGRE_DEMUX #if IS_ENABLED(CONFIG_NET_IPGRE_DEMUX)
&ovs_gre_vport_ops, &ovs_gre_vport_ops,
#endif #endif
}; };