diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-12-11 15:06:00 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-12-18 22:13:50 +0100 |
commit | 442f201b93b5222ac2e4f7513be86fdbd00e9065 (patch) | |
tree | a66e3990d2a980c1d93ac093ff0ba3ab5f0ac36a /drivers/mtd/nand/denali.h | |
parent | mtd: nand: socrates: use the mtd instance embedded in struct nand_chip (diff) | |
download | linux-442f201b93b5222ac2e4f7513be86fdbd00e9065.tar.xz linux-442f201b93b5222ac2e4f7513be86fdbd00e9065.zip |
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 4b12cd302819..e7ab4866a5da 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; |