From: Randy Dunlap Date: Thu, 6 May 2010 23:44:08 +0000 (-0700) Subject: staging: cxt1e1: fix semaphore build breakage X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7c1e68ba9236ef848a715cbb60b13947b9ae7289;p=mv-sheeva.git staging: cxt1e1: fix semaphore build breakage 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/cxt1e1/pmcc4_private.h b/drivers/staging/cxt1e1/pmcc4_private.h index 0ae18c444a7..b2b6e370263 100644 --- a/drivers/staging/cxt1e1/pmcc4_private.h +++ b/drivers/staging/cxt1e1/pmcc4_private.h @@ -20,6 +20,7 @@ #include #include +#include #include #include /* support for tasklets */ #include /* support for timer */