aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorHuang Shijie <[email protected]>2013-09-25 14:58:17 +0800
committerBrian Norris <[email protected]>2013-10-27 16:27:06 -0700
commit818b97392932ac4cecc36ab839957258367004a9 (patch)
tree9d3d864da226e7068ece1b88ccf8b51b9fb25e4d /net/lapb/lapb_iface.c
parentfda5b0e24dca3d52671e5a6543a285d4e86c55e1 (diff)
mtd: nand: add a helper to detect the nand type
This helper detects that whether the mtd's type is nand type. Now, it's clear that the MTD_NANDFLASH stands for SLC nand only. So use the mtd_type_is_nand() to replace the old check method to do the nand type (include the SLC and MLC) check. Signed-off-by: Huang Shijie <[email protected]> Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions