kernel/drivers/rkflash/rkflash_api.h
.. .. @@ -41,7 +41,7 @@ 41 41 int (*discard)(u32 sec, u32 n_sec); 42 42 }; 43 43 44 -#ifdef CONFIG_RK_NANDC_NAND44 +#if IS_REACHABLE(CONFIG_RK_NANDC_NAND)45 45 extern const struct flash_boot_ops nandc_nand_ops; 46 46 #endif 47 47