summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/bcm47xxsflash.h
blob: e37285e6fad930fcf9a6d015aa133f7656b2e683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __BCM47XXSFLASH_H
#define __BCM47XXSFLASH_H

#include <linux/mtd/mtd.h>

struct bcma_drv_cc;

struct bcm47xxsflash {
	struct bcma_drv_cc *bcma_cc;

	u32 window;
	u32 blocksize;
	u16 numblocks;
	u32 size;

	struct mtd_info mtd;
};

#endif /* BCM47XXSFLASH */