From: Takashi Iwai Subject: Re: [PATCH] ALSA: hdac: Explicitly add io.h Date: Tue, 13 Oct 2015 11:34:58 +0200 Message-ID: References: <1444728469-23319-1-git-send-email-vinod.koul@intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 8F8CD261A1A for ; Tue, 13 Oct 2015 11:34:58 +0200 (CEST) In-Reply-To: <1444728469-23319-1-git-send-email-vinod.koul@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Vinod Koul Cc: liam.r.girdwood@linux.intel.com, patches.audio@intel.com, alsa-devel@alsa-project.org, broonie@kernel.org List-Id: alsa-devel@alsa-project.org On Tue, 13 Oct 2015 11:27:49 +0200, Vinod Koul wrote: > > Compiling the hdac extended core on arm fails with below error: > > sound/hda/ext/hdac_ext_bus.c: In function 'hdac_ext_writel': > >> sound/hda/ext/hdac_ext_bus.c:29:2: error: implicit declaration of > >> function > +'writel' [-Werror=implicit-function-declaration] > writel(value, addr); > ^ > sound/hda/ext/hdac_ext_bus.c: In function 'hdac_ext_readl': > >> sound/hda/ext/hdac_ext_bus.c:34:2: error: implicit declaration of > >> function > +'readl' [-Werror=implicit-function-declaration] > return readl(addr); > > This is fixed by explicitly including io.h > > Fixes: 99463b3a3994 - ('ALSA: hda: provide default bus io ops extended hdac') > Reported-by: kbuild test robot > Suggested-by: Mark Brown > Signed-off-by: Vinod Koul Applied, thanks. Takashi > --- > sound/hda/ext/hdac_ext_bus.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/sound/hda/ext/hdac_ext_bus.c b/sound/hda/ext/hdac_ext_bus.c > index 4449d1a99089..2433f7c81472 100644 > --- a/sound/hda/ext/hdac_ext_bus.c > +++ b/sound/hda/ext/hdac_ext_bus.c > @@ -19,6 +19,7 @@ > > #include > #include > +#include > #include > > MODULE_DESCRIPTION("HDA extended core"); > -- > 2.4.3 >