Subject: Re: linux-next: build failure after merge of the final tree (sound tree related)

From: Takashi Iwai <[email-masked]>
Date: Tue, 11 Jan 2011 07:40:56 +0100

At Tue, 11 Jan 2011 13:20:30 +1100,
Stephen Rothwell wrote:
> 
> Hi all,
> 
> After merging the final tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
> 
> sound/pci/oxygen/xonar_dg.c: In function 'dg_output_enable':
> sound/pci/oxygen/xonar_dg.c:138: error: implicit declaration of function 'msleep'
> 
> Caused by commit 66410bfdf14f7c2ad3b2d4a8adeab41d368b6f05 ("ALSA: oxygen:
> add Xonar DG support").
> 
> See Rule 1 in Documentation/SubmitChecklist.
> 
> I added the following patch for today:
> 
> From: Stephen Rothwell <[email-masked]>
> Date: Tue, 11 Jan 2011 13:17:16 +1100
> Subject: [PATCH] ALSA: include delay.h for msleep in Xonar DG support
> 
> Signed-off-by: Stephen Rothwell <[email-masked]>

Thanks Stephen, applied the patch now to sound git tree.

Takashi

> ---
>  sound/pci/oxygen/xonar_dg.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/pci/oxygen/xonar_dg.c b/sound/pci/oxygen/xonar_dg.c
> index cc610ac1..dd45cf4 100644
> --- a/sound/pci/oxygen/xonar_dg.c
> +++ b/sound/pci/oxygen/xonar_dg.c
> @@ -40,6 +40,7 @@
>   */
>  
>  #include <linux/pci.h>
> +#include <linux/delay.h>
>  #include <sound/control.h>
>  #include <sound/core.h>
>  #include <sound/info.h>
> -- 
> 1.7.2.3
> 
> -- 
> Cheers,
> Stephen Rothwell                    [email-masked]
> http://www.canb.auug.org.au/~sfr/
>