summaryrefslogtreecommitdiffstats
path: root/drivers/sound/max98095.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sound/max98095.c')
-rw-r--r--drivers/sound/max98095.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sound/max98095.c b/drivers/sound/max98095.c
index febf4195ba..35829f88c9 100644
--- a/drivers/sound/max98095.c
+++ b/drivers/sound/max98095.c
@@ -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;
OpenPOWER on IntegriCloud