of: clean up OF_CONTROL ifdef conditionals
[oweals/u-boot.git] / drivers / sound / max98095.c
index febf4195ba9b8870183d409f3ca4743e18118bc0..35829f88c9d99c132175c21f04b204d0f928cfba 100644 (file)
@@ -520,7 +520,7 @@ static int get_max98095_codec_values(struct sound_codec_info *pcodec_info,
                                const void *blob)
 {
        int error = 0;
-#ifdef CONFIG_OF_CONTROL
+#if CONFIG_IS_ENABLED(OF_CONTROL)
        enum fdt_compat_id compat;
        int node;
        int parent;