tree-wide: replace config_enabled() with IS_ENABLED()
[cascardo/linux.git] / drivers / net / wireless / ath / dfs_pattern_detector.c
index 2303ef9..2f8136d 100644 (file)
@@ -352,7 +352,7 @@ dfs_pattern_detector_init(struct ath_common *common,
 {
        struct dfs_pattern_detector *dpd;
 
-       if (!config_enabled(CONFIG_CFG80211_CERTIFICATION_ONUS))
+       if (!IS_ENABLED(CONFIG_CFG80211_CERTIFICATION_ONUS))
                return NULL;
 
        dpd = kmalloc(sizeof(*dpd), GFP_KERNEL);