diff options
author | Thomas Gleixner <tglx@cruncher.tec.linutronix.de> | 2006-05-23 17:28:48 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@cruncher.tec.linutronix.de> | 2006-05-23 17:28:48 -0400 |
commit | cad74f2c380411ae7bee997f3ba18834cfe313a2 (patch) | |
tree | aec691447dc3ab76688fe9dbe3cc2ae04ad1cbee /include/linux | |
parent | 7abd3ef9875eb2afcdcd4f450680298a2983a55e (diff) |
[MTD] NAND remove write_byte/word function from nand_chip
The previous change of the command / hardware control allows to
remove the write_byte/word functions completely, as their only
user were nand_command and nand_command_lp.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/nand.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index e9a935263151..2c0fb6380461 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h | |||
@@ -253,9 +253,7 @@ struct nand_ecc_ctrl { | |||
253 | * @IO_ADDR_R: [BOARDSPECIFIC] address to read the 8 I/O lines of the flash device | 253 | * @IO_ADDR_R: [BOARDSPECIFIC] address to read the 8 I/O lines of the flash device |
254 | * @IO_ADDR_W: [BOARDSPECIFIC] address to write the 8 I/O lines of the flash device | 254 | * @IO_ADDR_W: [BOARDSPECIFIC] address to write the 8 I/O lines of the flash device |
255 | * @read_byte: [REPLACEABLE] read one byte from the chip | 255 | * @read_byte: [REPLACEABLE] read one byte from the chip |
256 | * @write_byte: [REPLACEABLE] write one byte to the chip | ||
257 | * @read_word: [REPLACEABLE] read one word from the chip | 256 | * @read_word: [REPLACEABLE] read one word from the chip |
258 | * @write_word: [REPLACEABLE] write one word to the chip | ||
259 | * @write_buf: [REPLACEABLE] write data from the buffer to the chip | 257 | * @write_buf: [REPLACEABLE] write data from the buffer to the chip |
260 | * @read_buf: [REPLACEABLE] read data from the chip into the buffer | 258 | * @read_buf: [REPLACEABLE] read data from the chip into the buffer |
261 | * @verify_buf: [REPLACEABLE] verify buffer contents against the chip data | 259 | * @verify_buf: [REPLACEABLE] verify buffer contents against the chip data |
@@ -307,10 +305,7 @@ struct nand_chip { | |||
307 | void __iomem *IO_ADDR_W; | 305 | void __iomem *IO_ADDR_W; |
308 | 306 | ||
309 | uint8_t (*read_byte)(struct mtd_info *mtd); | 307 | uint8_t (*read_byte)(struct mtd_info *mtd); |
310 | void (*write_byte)(struct mtd_info *mtd, uint8_t byte); | ||
311 | u16 (*read_word)(struct mtd_info *mtd); | 308 | u16 (*read_word)(struct mtd_info *mtd); |
312 | void (*write_word)(struct mtd_info *mtd, u16 word); | ||
313 | |||
314 | void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); | 309 | void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); |
315 | void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len); | 310 | void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len); |
316 | int (*verify_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); | 311 | int (*verify_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); |