diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:13 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:13 +0200 |
commit | 162484b83c392eeef33de2eb8111fcbe7f1e1e14 (patch) | |
tree | d803c4357400b05ff89cb5e25920cd359d0baa94 /include/linux/mtd/nand.h | |
parent | 13a0908f07be07b58df8f312acf92a58047383a6 (diff) | |
download | barebox-162484b83c392eeef33de2eb8111fcbe7f1e1e14.tar.gz barebox-162484b83c392eeef33de2eb8111fcbe7f1e1e14.tar.xz |
svn_rev_003
remove all #if 0 and #if 1
Diffstat (limited to 'include/linux/mtd/nand.h')
-rw-r--r-- | include/linux/mtd/nand.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 4b485643a1..223ecae61c 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -212,17 +212,6 @@ typedef enum { /* Keep gcc happy */ struct nand_chip; -#if 0 -/** - * struct nand_hw_control - Control structure for hardware controller (e.g ECC generator) shared among independend devices - * @lock: protection lock - * @active: the mtd device which holds the controller currently - */ -struct nand_hw_control { - spinlock_t lock; - struct nand_chip *active; -}; -#endif /** * struct nand_chip - NAND Private Flash Chip Data @@ -311,11 +300,6 @@ struct nand_chip { int eccbytes; int eccsteps; int chip_delay; -#if 0 - spinlock_t chip_lock; - wait_queue_head_t wq; - nand_state_t state; -#endif int page_shift; int phys_erase_shift; int bbt_erase_shift; |