From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] staging: fix cxt1e1 semaphore build breakage Date: Thu, 6 May 2010 16:44:08 -0700 Message-ID: <20100506164408.412fed05.randy.dunlap@oracle.com> References: <20100506151502.f97afe54.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from rcsinet10.oracle.com ([148.87.113.121]:29201 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752085Ab0EFXpF (ORCPT ); Thu, 6 May 2010 19:45:05 -0400 In-Reply-To: <20100506151502.f97afe54.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell , gregkh@suse.de Cc: linux-next@vger.kernel.org, LKML , devel@driverdev.osuosl.org From: Randy Dunlap Fix build errors by including linux/semaphore.h: drivers/staging/cxt1e1/pmcc4_private.h:144: error: field 'sr_sem_busy' has incomplete type drivers/staging/cxt1e1/pmcc4_private.h:146: error: field 'sr_sem_wait' has incomplete type drivers/staging/cxt1e1/pmcc4_private.h:189: error: field 'sem_wdbusy' has incomplete type drivers/staging/cxt1e1/musycc.c:617: error: implicit declaration of function 'down' drivers/staging/cxt1e1/musycc.c:641: error: implicit declaration of function 'up' Signed-off-by: Randy Dunlap --- drivers/staging/cxt1e1/pmcc4_private.h | 1 + 1 file changed, 1 insertion(+) --- linux-next-20100506.orig/drivers/staging/cxt1e1/pmcc4_private.h +++ linux-next-20100506/drivers/staging/cxt1e1/pmcc4_private.h @@ -20,6 +20,7 @@ #include #include +#include #include #include /* support for tasklets */ #include /* support for timer */