Commit 122c9083 authored by Sonic Zhang's avatar Sonic Zhang Committed by Bob Liu
Browse files

bf60x: bfin_crc: move structure bfin_crc out of head file.



Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
parent 3d6ba608
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -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 */