diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-12-11 14:06:00 (GMT) |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-12-18 21:13:50 (GMT) |
commit | 442f201b93b5222ac2e4f7513be86fdbd00e9065 (patch) | |
tree | a66e3990d2a980c1d93ac093ff0ba3ab5f0ac36a /drivers/mtd/nand/denali.h | |
parent | a723bf6a58b17379c27f869402baddf4b0d2c7dc (diff) | |
download | linux-442f201b93b5222ac2e4f7513be86fdbd00e9065.tar.xz |
mtd: nand: denali: use the mtd instance embedded in struct nand_chip
struct nand_chip now embeds an mtd device. Make use of this mtd instance.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/denali.h')
-rw-r--r-- | drivers/mtd/nand/denali.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h index 4b12cd3..e7ab486 100644 --- a/drivers/mtd/nand/denali.h +++ b/drivers/mtd/nand/denali.h @@ -450,7 +450,6 @@ struct nand_buf { #define DT 3 struct denali_nand_info { - struct mtd_info mtd; struct nand_chip nand; int flash_bank; /* currently selected chip */ int status; |