default or selected kernelversion does not have config value CONFIG_MTD_DOCECC.
Result is shown for kernelversion 6.2.5

CONFIG_MTD_DOCECC (not configurable)

modulename: docecc.ko

configname: CONFIG_MTD_DOCECC

Linux Kernel Configuration
└─>Device Drivers
└─>Memory Technology Device (MTD) support
└─>Self-contained MTD device drivers
└─>MTD_DOCECC
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
source code:
depends
CONFIG_MTD

is depended by
CONFIG_MTD_DOCPROBE