diff options
author | Fabio Estevam | 2013-12-02 00:30:27 -0200 |
---|---|---|
committer | Brian Norris | 2014-01-03 11:22:21 -0800 |
commit | 7e8eb8ae6618a82e598fe11ac01839d0bc4a5520 (patch) | |
tree | ffed33ecf6e73ba691afaf1ef149f72d418555b6 /drivers/mtd | |
parent | 54c738f694ab67a007a43482d1dd7cf956fbb6c3 (diff) |
mtd: tests: mtd_nandecctest: Use IS_ENABLED() macro
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/tests/mtd_nandecctest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/tests/mtd_nandecctest.c b/drivers/mtd/tests/mtd_nandecctest.c index 70106607c247..e579f9027c47 100644 --- a/drivers/mtd/tests/mtd_nandecctest.c +++ b/drivers/mtd/tests/mtd_nandecctest.c @@ -19,7 +19,7 @@ * or detected. */ -#if defined(CONFIG_MTD_NAND) || defined(CONFIG_MTD_NAND_MODULE) +#if IS_ENABLED(CONFIG_MTD_NAND) struct nand_ecc_test { const char *name; |