X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fsound%2Fmax98095.c;h=7c37bd070156fab6b2fdc08988db436982e5bb94;hb=a800a6793f095746173834ead6b3663bc3c0542c;hp=febf4195ba9b8870183d409f3ca4743e18118bc0;hpb=6297872cd5de4705b6318778261b1f3f64a34c11;p=u-boot diff --git a/drivers/sound/max98095.c b/drivers/sound/max98095.c index febf4195ba..7c37bd0701 100644 --- a/drivers/sound/max98095.c +++ b/drivers/sound/max98095.c @@ -9,6 +9,8 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ + +#include #include #include #include @@ -520,7 +522,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;