diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2013-01-06 21:28:50 +0100 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-02-04 09:26:30 +0200 |
commit | a2f74a7dacc1c17a0b146eb3112217874c5db436 (patch) | |
tree | c745afac1c501aefd47b60e85cbc0d3912c9ee4b /drivers/mtd/devices/bcm47xxsflash.h | |
parent | 396afe553bd607dca4d28b00b6cab2ea826acba2 (diff) | |
download | blackbird-op-linux-a2f74a7dacc1c17a0b146eb3112217874c5db436.tar.gz blackbird-op-linux-a2f74a7dacc1c17a0b146eb3112217874c5db436.zip |
mtd: bcm47xxsflash: add own struct for abstrating bus type
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Diffstat (limited to 'drivers/mtd/devices/bcm47xxsflash.h')
-rw-r--r-- | drivers/mtd/devices/bcm47xxsflash.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/mtd/devices/bcm47xxsflash.h b/drivers/mtd/devices/bcm47xxsflash.h new file mode 100644 index 000000000000..ebf6f710e23c --- /dev/null +++ b/drivers/mtd/devices/bcm47xxsflash.h @@ -0,0 +1,15 @@ +#ifndef __BCM47XXSFLASH_H +#define __BCM47XXSFLASH_H + +#include <linux/mtd/mtd.h> + +struct bcm47xxsflash { + u32 window; + u32 blocksize; + u16 numblocks; + u32 size; + + struct mtd_info mtd; +}; + +#endif /* BCM47XXSFLASH */ |