Updated sdma.h (fixed struct sdma_engine size)

This commit is contained in:
Aram Santogidis
2017-08-08 14:54:12 +09:00
committed by Balazs Gerofi
parent 7d2e2f93b0
commit 1c4a6568e6
3 changed files with 33 additions and 18 deletions

View File

@ -108,6 +108,31 @@ static inline unsigned raw_seqcount_begin(const seqcount_t *s)
}
/***********************************************/
/* kernel-xppsl_1.5.2/include/linux/kref.h */
struct kref {
atomic_t refcount;
};
typedef struct {
spinlock_t lock;
struct list_head task_list;
} wait_queue_head_t ;
struct completion {
unsigned int done;
wait_queue_head_t wait;
};
/* kernel-xppsl_1.5.2/include/linux/interrupt.h */
struct tasklet_struct
{
struct tasklet_struct *next;
unsigned long state;
atomic_t count;
void (*func)(unsigned long);
unsigned long data;
};
/* Misc */
/* From: kernel-xppsl_1.5.2/include/linux/kernel.h */
#define min_t(type, x, y) ({ \