diff options
Diffstat (limited to 'include/linux/mtd')
| -rw-r--r-- | include/linux/mtd/mtd.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 4cbb7f555244..a86c4fa93115 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h | |||
| @@ -30,12 +30,6 @@ | |||
| 30 | 30 | ||
| 31 | #include <asm/div64.h> | 31 | #include <asm/div64.h> |
| 32 | 32 | ||
| 33 | #define MTD_ERASE_PENDING 0x01 | ||
| 34 | #define MTD_ERASING 0x02 | ||
| 35 | #define MTD_ERASE_SUSPEND 0x04 | ||
| 36 | #define MTD_ERASE_DONE 0x08 | ||
| 37 | #define MTD_ERASE_FAILED 0x10 | ||
| 38 | |||
| 39 | #define MTD_FAIL_ADDR_UNKNOWN -1LL | 33 | #define MTD_FAIL_ADDR_UNKNOWN -1LL |
| 40 | 34 | ||
| 41 | struct mtd_info; | 35 | struct mtd_info; |
| @@ -49,7 +43,6 @@ struct erase_info { | |||
| 49 | uint64_t addr; | 43 | uint64_t addr; |
| 50 | uint64_t len; | 44 | uint64_t len; |
| 51 | uint64_t fail_addr; | 45 | uint64_t fail_addr; |
| 52 | u_char state; | ||
| 53 | }; | 46 | }; |
| 54 | 47 | ||
| 55 | struct mtd_erase_region_info { | 48 | struct mtd_erase_region_info { |
| @@ -589,8 +582,6 @@ extern void register_mtd_user (struct mtd_notifier *new); | |||
| 589 | extern int unregister_mtd_user (struct mtd_notifier *old); | 582 | extern int unregister_mtd_user (struct mtd_notifier *old); |
| 590 | void *mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size); | 583 | void *mtd_kmalloc_up_to(const struct mtd_info *mtd, size_t *size); |
| 591 | 584 | ||
| 592 | void mtd_erase_callback(struct erase_info *instr); | ||
| 593 | |||
| 594 | static inline int mtd_is_bitflip(int err) { | 585 | static inline int mtd_is_bitflip(int err) { |
| 595 | return err == -EUCLEAN; | 586 | return err == -EUCLEAN; |
| 596 | } | 587 | } |
