diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2013-01-06 20:28:50 (GMT) |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-02-04 07:26:30 (GMT) |
commit | a2f74a7dacc1c17a0b146eb3112217874c5db436 (patch) | |
tree | c745afac1c501aefd47b60e85cbc0d3912c9ee4b /drivers/mtd/devices/bcm47xxsflash.h | |
parent | 396afe553bd607dca4d28b00b6cab2ea826acba2 (diff) | |
download | linux-fsl-qoriq-a2f74a7dacc1c17a0b146eb3112217874c5db436.tar.xz |
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 0000000..ebf6f71 --- /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 */ |