mtd: mtd-abi: add a helper to detect the nand type
authorHuang Shijie <b32955@freescale.com>
Wed, 25 Sep 2013 06:58:18 +0000 (14:58 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Sun, 27 Oct 2013 23:27:06 +0000 (16:27 -0700)
commit4f8a3ba700b882f61d4cea2d68a8f83fa93c6dfd
tree0c23853ddfa10de1761aeae939adbd5c8194462e
parent818b97392932ac4cecc36ab839957258367004a9
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/uapi/mtd/mtd-abi.h