aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/mtd-onenand-omap2.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/platform_data/mtd-onenand-omap2.h b/include/linux/platform_data/mtd-onenand-omap2.h
index 2858667d2e4f..21bb0ff4052e 100644
--- a/include/linux/platform_data/mtd-onenand-omap2.h
+++ b/include/linux/platform_data/mtd-onenand-omap2.h
@@ -15,20 +15,12 @@
15#define ONENAND_SYNC_READ (1 << 0) 15#define ONENAND_SYNC_READ (1 << 0)
16#define ONENAND_SYNC_READWRITE (1 << 1) 16#define ONENAND_SYNC_READWRITE (1 << 1)
17 17
18struct onenand_freq_info {
19 u16 maf_id;
20 u16 dev_id;
21 u16 ver_id;
22};
23
24struct omap_onenand_platform_data { 18struct omap_onenand_platform_data {
25 int cs; 19 int cs;
26 int gpio_irq; 20 int gpio_irq;
27 struct mtd_partition *parts; 21 struct mtd_partition *parts;
28 int nr_parts; 22 int nr_parts;
29 int (*onenand_setup)(void __iomem *, int *freq_ptr); 23 int (*onenand_setup)(void __iomem *, int *freq_ptr);
30 int (*get_freq)(const struct onenand_freq_info *freq_info,
31 bool *clk_dep);
32 int dma_channel; 24 int dma_channel;
33 u8 flags; 25 u8 flags;
34 u8 regulator_can_sleep; 26 u8 regulator_can_sleep;