diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-12-10 09:00:21 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-12-18 10:54:41 -0800 |
commit | de9f56f9137b8a6bfaf9b9dcb7d297bf0b61ffbf (patch) | |
tree | 60ebd9cd4927cfbb5d57bebf13c6264cea63da83 /drivers/mtd/nand/r852.h | |
parent | 063294a36e8e8c2642b6c63a709d6792a609ec33 (diff) | |
download | linux-de9f56f9137b8a6bfaf9b9dcb7d297bf0b61ffbf.tar.bz2 |
mtd: nand: r852: 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/r852.h')
-rw-r--r-- | drivers/mtd/nand/r852.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/r852.h b/drivers/mtd/nand/r852.h index e6a21d9d22c6..d042ddb71a8b 100644 --- a/drivers/mtd/nand/r852.h +++ b/drivers/mtd/nand/r852.h @@ -108,7 +108,6 @@ struct r852_device { void __iomem *mmio; /* mmio */ - struct mtd_info *mtd; /* mtd backpointer */ struct nand_chip *chip; /* nand chip backpointer */ struct pci_dev *pci_dev; /* pci backpointer */ |