mirror of https://gitee.com/openkylin/linux.git
bf60x: bfin_crc: move structure bfin_crc out of head file.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
This commit is contained in:
parent
3d6ba60892
commit
122c908387
|
@ -79,20 +79,6 @@ struct crc_register {
|
|||
u32 revid;
|
||||
};
|
||||
|
||||
struct bfin_crc {
|
||||
struct miscdevice mdev;
|
||||
struct list_head list;
|
||||
int irq;
|
||||
int dma_ch_src;
|
||||
int dma_ch_dest;
|
||||
volatile struct crc_register *regs;
|
||||
struct crc_info *info;
|
||||
struct mutex mutex;
|
||||
struct completion c;
|
||||
unsigned short opmode;
|
||||
char name[20];
|
||||
};
|
||||
|
||||
/* CRC_STATUS Masks */
|
||||
#define CMPERR 0x00000002 /* Compare error */
|
||||
#define DCNTEXP 0x00000010 /* datacnt register expired */
|
||||
|
|
Loading…
Reference in New Issue