diff options
author | Jason Wang <jasowang@redhat.com> | 2013-06-05 23:54:35 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-07 23:49:08 -0700 |
commit | 1d2f41ed23343e083566339574807ca7ea75dbba (patch) | |
tree | 470b67590169504bebdad9158ee4b4f0d544e29b /include/linux/if_macvlan.h | |
parent | 89cee917deb5bf0dc9da269a38622588d06cb6be (diff) | |
download | linux-stable-1d2f41ed23343e083566339574807ca7ea75dbba.tar.gz linux-stable-1d2f41ed23343e083566339574807ca7ea75dbba.tar.bz2 linux-stable-1d2f41ed23343e083566339574807ca7ea75dbba.zip |
macvlan: switch to use IS_ENABLED()
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_macvlan.h')
-rw-r--r-- | include/linux/if_macvlan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/if_macvlan.h b/include/linux/if_macvlan.h index 84dde1dd1da4..e47ad46a477c 100644 --- a/include/linux/if_macvlan.h +++ b/include/linux/if_macvlan.h @@ -8,7 +8,7 @@ #include <net/netlink.h> #include <linux/u64_stats_sync.h> -#if defined(CONFIG_MACVTAP) || defined(CONFIG_MACVTAP_MODULE) +#if IS_ENABLED(CONFIG_MACVTAP) struct socket *macvtap_get_socket(struct file *); #else #include <linux/err.h> |