Commit 479b1a58 authored by Pravin B Shelar's avatar Pravin B Shelar Committed by David S. Miller

openvswitch: Use correct config guard.

This bug was introduced by commit aa310701
(openvswitch: Add gre tunnel support.)
Signed-off-by: default avatarPravin B Shelar <pshelar@nicira.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7c77602f
......@@ -16,7 +16,7 @@
* 02110-1301, USA
*/
#ifdef CONFIG_NET_IPGRE_DEMUX
#if IS_ENABLED(CONFIG_NET_IPGRE_DEMUX)
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/if.h>
......
......@@ -39,7 +39,7 @@ static const struct vport_ops *vport_ops_list[] = {
&ovs_netdev_vport_ops,
&ovs_internal_vport_ops,
#ifdef CONFIG_NET_IPGRE_DEMUX
#if IS_ENABLED(CONFIG_NET_IPGRE_DEMUX)
&ovs_gre_vport_ops,
#endif
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment