struct nand_hw_control

Name

struct nand_hw_control --  Control structure for hardware controller (e.g ECC generator) shared among independend devices

Synopsis

struct nand_hw_control {
  spinlock_t lock;
  struct nand_chip * active;
};  

Members

lock

protection lock

active

the mtd device which holds the controller currently