From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754478Ab0EERcb (ORCPT ); Wed, 5 May 2010 13:32:31 -0400 Received: from mail.issp.bas.bg ([195.96.236.10]:38950 "EHLO mail.issp.bas.bg" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753338Ab0EERc2 (ORCPT ); Wed, 5 May 2010 13:32:28 -0400 From: Marin Mitov Organization: Institute of Solid State Physics To: Randy Dunlap Subject: Re: linux-next: Tree for May 4 (staging/dt3155v4l) [PATCH] Date: Wed, 5 May 2010 20:31:38 +0300 User-Agent: KMail/1.11.4 (Linux/2.6.34-rc6; KDE/4.2.4; x86_64; ; ) Cc: Greg KH , Stephen Rothwell , devel@driverdev.osuosl.org, linux-next@vger.kernel.org, LKML References: <20100504162305.4a07a18a.sfr@canb.auug.org.au> <20100504191223.GB13208@suse.de> <4BE07890.8060707@oracle.com> In-Reply-To: <4BE07890.8060707@oracle.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201005052031.39043.mitov@issp.bas.bg> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 04 May 2010 10:42:08 pm Randy Dunlap wrote: > On 05/04/10 12:12, Greg KH wrote: > > On Tue, May 04, 2010 at 11:36:04AM -0700, Randy Dunlap wrote: > >> On Tue, 4 May 2010 16:23:05 +1000 Stephen Rothwell wrote: > >> > >>> Hi all, > >>> > >>> Changes since 20100503: > >> > >> > >> drivers/staging/dt3155v4l/dt3155v4l.c:73: error: implicit declaration of function 'udelay' > >> drivers/staging/dt3155v4l/dt3155v4l.c:616: warning: assignment from incompatible pointer type > >> drivers/staging/dt3155v4l/dt3155v4l.c:1270: error: implicit declaration of function 'msleep' > > > > Ick. What arch was this? > > That is on x86_64. > > The config is attached. > It's my fault, sorry. Here is a patch solving the problem. Compiles with Randy's config, but does not link drivers/staging/built-in.o: In function `format_by_fourcc': (.text+0x211da): multiple definition of `format_by_fourcc' drivers/media/built-in.o:(.text+0x2a744): first defined here drivers/media/common/saa7146_video.c:struct saa7146_format* format_by_fourcc(struct saa7146_dev *dev, int fourcc) drivers/staging/cx25821/cx25821-video.c:struct cx25821_fmt *format_by_fourcc(unsigned int fourcc) Marin MItov ========================================= [PATCH] Adding the missing linux/delay.h The prototypes of udelay() and msleep() are in linux/delay.h, so include it. Signed-off-by: Marin Mitov ========================================================================== --- a/drivers/staging/dt3155v4l/dt3155v4l.c 2010-05-05 08:55:30.000000000 +0300 +++ b/drivers/staging/dt3155v4l/dt3155v4l.c 2010-05-05 08:57:00.000000000 +0300 @@ -4,6 +4,7 @@ #include #include #include +#include #include #include