summaryrefslogtreecommitdiffstats
path: root/net/openvswitch/vport-gre.c
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2013-06-20 15:08:14 -0700
committerDavid S. Miller <davem@davemloft.net>2013-06-24 00:16:46 -0700
commit479b1a5825f68f9b63d26a13ca25ffbb7d2617ad (patch)
treeb7f5f392a74f685eabf5244f1216e754de909dcd /net/openvswitch/vport-gre.c
parent7c77602f57da3f526fa7cf7bb02c49d3397c0729 (diff)
downloadlinux-479b1a5825f68f9b63d26a13ca25ffbb7d2617ad.tar.gz
linux-479b1a5825f68f9b63d26a13ca25ffbb7d2617ad.tar.bz2
linux-479b1a5825f68f9b63d26a13ca25ffbb7d2617ad.zip
openvswitch: Use correct config guard.
This bug was introduced by commit aa310701e787087 (openvswitch: Add gre tunnel support.) Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport-gre.c')
-rw-r--r--net/openvswitch/vport-gre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport-gre.c b/net/openvswitch/vport-gre.c
index 3a8d1900aa78..943e5c431354 100644
--- a/net/openvswitch/vport-gre.c
+++ b/net/openvswitch/vport-gre.c
@@ -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>