aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/nand.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-03-04 07:56:18 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-04-05 07:02:19 -0400
commit3239a6cdef0be60ec2dadc501cf385dc419d7452 (patch)
tree2b01788af2e9554322d3dc2325416a54a22726f6 /include/linux/mtd/nand.h
parent88ad4b162adb3821815d0098987040fca26c7d80 (diff)
mtd: nand: use NAND_HAS_CACHEPROG
We have this unused macro, let's use it and justify its existence. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Acked-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd/nand.h')
-rw-r--r--include/linux/mtd/nand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index ec0a74877714..07d7a3dc5582 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -167,7 +167,7 @@ typedef enum {
167#define NAND_SUBPAGE_READ 0x00001000 167#define NAND_SUBPAGE_READ 0x00001000
168 168
169/* Options valid for Samsung large page devices */ 169/* Options valid for Samsung large page devices */
170#define NAND_SAMSUNG_LP_OPTIONS (NAND_CACHEPRG) 170#define NAND_SAMSUNG_LP_OPTIONS NAND_CACHEPRG
171 171
172/* Macros to identify the above */ 172/* Macros to identify the above */
173#define NAND_HAS_CACHEPROG(chip) ((chip->options & NAND_CACHEPRG)) 173#define NAND_HAS_CACHEPROG(chip) ((chip->options & NAND_CACHEPRG))