Commit 7e8eb8ae authored by Fabio Estevam's avatar Fabio Estevam Committed by Brian Norris

mtd: tests: mtd_nandecctest: Use IS_ENABLED() macro

Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 54c738f6
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* or detected. * or detected.
*/ */
#if defined(CONFIG_MTD_NAND) || defined(CONFIG_MTD_NAND_MODULE) #if IS_ENABLED(CONFIG_MTD_NAND)
struct nand_ecc_test { struct nand_ecc_test {
const char *name; const char *name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment