summaryrefslogtreecommitdiffstats
path: root/net/x25/x25_route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/x25/x25_route.c')
-rw-r--r--net/x25/x25_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/x25/x25_route.c b/net/x25/x25_route.c
index 97d77c5..cf63662 100644
--- a/net/x25/x25_route.c
+++ b/net/x25/x25_route.c
@@ -134,7 +134,7 @@ struct net_device *x25_dev_get(char *devname)
if (dev &&
(!(dev->flags & IFF_UP) || (dev->type != ARPHRD_X25
-#if defined(CONFIG_LLC) || defined(CONFIG_LLC_MODULE)
+#if IS_ENABLED(CONFIG_LLC)
&& dev->type != ARPHRD_ETHER
#endif
))){
OpenPOWER on IntegriCloud