diff options
Diffstat (limited to 'drivers/sound/wm8994.c')
-rw-r--r-- | drivers/sound/wm8994.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sound/wm8994.c b/drivers/sound/wm8994.c index f8e9a6eadd..d378442c50 100644 --- a/drivers/sound/wm8994.c +++ b/drivers/sound/wm8994.c @@ -814,7 +814,7 @@ static int get_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; |