From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH] Staging: comedi: comedidev should include delay.h Date: Thu, 21 May 2009 06:55:31 -0700 Message-ID: <20090521135531.GA29375@suse.de> References: <1242911193-30469-1-git-send-email-a.beregalov@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cantor2.suse.de ([195.135.220.15]:32863 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757191AbZEUODB (ORCPT ); Thu, 21 May 2009 10:03:01 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-next-owner@vger.kernel.org List-ID: To: "Robert P. J. Day" Cc: Alexander Beregalov , linux-kernel@vger.kernel.org, linux-next@vger.kernel.org On Thu, May 21, 2009 at 09:09:53AM -0400, Robert P. J. Day wrote: > On Thu, 21 May 2009, Alexander Beregalov wrote: > > > Fix many build errors like this: > > comedi/drivers/adq12b.c:328: error: implicit declaration of function 'udelay' > > > > The same for aio_aio12_8.c, dmm32at.c and others. > > > > Signed-off-by: Alexander Beregalov > > --- > > drivers/staging/comedi/comedidev.h | 1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h > > index 7a1ccde..3d0e80c 100644 > > --- a/drivers/staging/comedi/comedidev.h > > +++ b/drivers/staging/comedi/comedidev.h > > @@ -38,6 +38,7 @@ > > #include > > #include > > #include > > +#include > > > > #include "comedi.h" > > not sure it's worth noting but the header comedidev.h currently > resides in the comedi directory itself, while the source file rt.c > contains: > > #include > > which doesn't seem right. That's correct, and is one reason why rt.c is now gone in the linux-next tree :) thanks, greg k-h