OSDN Git Service

mtd: nand: add nand_to_mtd() helper
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Tue, 1 Dec 2015 11:03:07 +0000 (12:03 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 8 Dec 2015 20:25:20 +0000 (12:25 -0800)
commitffd014f43fdcb6edb5a7f302de1e717e8c0673d5
treed4161d30f981ce41c3b963a49834b4dd145ee49d
parented4f85c03cc7460a2f76afb73c22b8894b44ee20
mtd: nand: add nand_to_mtd() helper

Add a new helper to retrieve the MTD device attached to a NAND chip.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
include/linux/mtd/nand.h