aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2015-12-10 09:00:07 +0100
committerBrian Norris <computersforpeace@gmail.com>2015-12-18 10:54:41 -0800
commit2a690b25f6c770e70cc00357846f39327531c464 (patch)
tree068e1aa818baba2210670b67b0ff8ff8f196a930 /drivers/mtd/nand/gpmi-nand/gpmi-nand.h
parentmtd: nand: gpio: use the mtd instance embedded in struct nand_chip (diff)
downloadwireguard-linux-2a690b25f6c770e70cc00357846f39327531c464.tar.xz
wireguard-linux-2a690b25f6c770e70cc00357846f39327531c464.zip
mtd: nand: gpmi: 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 '')
-rw-r--r--drivers/mtd/nand/gpmi-nand/gpmi-nand.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
index 544062f65020..4e49a1f5fa27 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.h
@@ -160,7 +160,6 @@ struct gpmi_nand_data {
/* MTD / NAND */
struct nand_chip nand;
- struct mtd_info mtd;
/* General-use Variables */
int current_chip;