diff options
Diffstat (limited to 'arch/blackfin/include/asm/bfin_sport.h')
-rw-r--r-- | arch/blackfin/include/asm/bfin_sport.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/bfin_sport.h b/arch/blackfin/include/asm/bfin_sport.h index 65a651db5b07..b558908e1c79 100644 --- a/arch/blackfin/include/asm/bfin_sport.h +++ b/arch/blackfin/include/asm/bfin_sport.h @@ -9,6 +9,13 @@ #ifndef __BFIN_SPORT_H__ #define __BFIN_SPORT_H__ +#ifdef __KERNEL__ +#include <linux/cdev.h> +#include <linux/mutex.h> +#include <linux/sched.h> +#include <linux/wait.h> +#endif + #define SPORT_MAJOR 237 #define SPORT_NR_DEVS 2 @@ -119,7 +126,7 @@ struct sport_dev { int tx_len; int tx_sent; - int sport_err_irq; + int err_irq; struct mutex mutex; /* mutual exclusion semaphore */ struct task_struct *task; |