diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-05-06 16:44:08 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 14:15:34 -0700 |
commit | 7c1e68ba9236ef848a715cbb60b13947b9ae7289 (patch) | |
tree | 2c6bc610cc8e860fe971f715ca80e228e702c597 /drivers/staging/cxt1e1 | |
parent | 2d06efdb48e412b90a67c3986222fd5743400e37 (diff) |
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 <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/cxt1e1')
-rw-r--r-- | drivers/staging/cxt1e1/pmcc4_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/cxt1e1/pmcc4_private.h b/drivers/staging/cxt1e1/pmcc4_private.h index 0ae18c444a75..b2b6e3702630 100644 --- a/drivers/staging/cxt1e1/pmcc4_private.h +++ b/drivers/staging/cxt1e1/pmcc4_private.h @@ -20,6 +20,7 @@ #include <linux/kernel.h> #include <linux/sched.h> +#include <linux/semaphore.h> #include <linux/spinlock.h> #include <linux/interrupt.h> /* support for tasklets */ #include <linux/timer.h> /* support for timer */ |