mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-22 05:16:38 +00:00
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>
This commit is contained in:
parent
54c738f694
commit
7e8eb8ae66
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user