]> www.infradead.org Git - mtd-utils.git/commit
mtd: mtd-abi: add a helper to detect the nand type
authorHuang Shijie <b32955@freescale.com>
Tue, 20 Aug 2013 05:58:35 +0000 (13:58 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 22 Oct 2013 23:18:19 +0000 (16:18 -0700)
commit9561080de23f6e254b7eb9b7556adf960dad58a3
treeee626f0ff392932283fc1ad2b00c60625dcb39d7
parent2e4fe96b2bc5ad33793d0d5cbeb23c9f76155211
mtd: mtd-abi: add a helper to detect the nand type

The helper is for user applications, and it is just a copy of
the kernel helper: mtd_type_is_nand();

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
include/mtd/mtd-abi.h