sound/soc/soc-dapm.c:1023:4: error: implicit declaration of function 'regulator_allow_bypass'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[add the missing subject line..]

On Sat, Sep 08, 2012 at 09:44:50AM +0800, Fengguang Wu wrote:
> Hi Mark,
> 
> FYI, kernel build failed on
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
> head:   e8bb382aa74747f23e2903c15e48e9f06de5c60a
> commit: 9ad4ba77112a3700129cdb142796a54680baa266 [100/103] ASoC: dapm: Allow regulators to bypass as well as disable when idle
> config: x86_64-allmodconfig (attached as .config)
> 
> All related error/warning messages:
> 
> sound/soc/soc-dapm.c: In function 'dapm_regulator_event':
> sound/soc/soc-dapm.c:1023:4: error: implicit declaration of function 'regulator_allow_bypass' [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
> 
> vim +1023 sound/soc/soc-dapm.c
>   1018	{
>   1019		int ret;
>   1020	
>   1021		if (SND_SOC_DAPM_EVENT_ON(event)) {
>   1022			if (w->invert & SND_SOC_DAPM_REGULATOR_BYPASS) {
> > 1023				ret = regulator_allow_bypass(w->regulator, true);
>   1024				if (ret != 0)
>   1025					dev_warn(w->dapm->dev,
>   1026						 "Failed to bypass %s: %d\n",
>   1027						 w->name, ret);
>   1028			}
> 
> ---
> 0-DAY kernel build testing backend         Open Source Technology Centre
> Fengguang Wu <wfg@xxxxxxxxxxxxxxx>                     Intel Corporation

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux