Hi Dhruva, kernel test robot noticed the following build errors: [auto build test ERROR on next-20230418] [also build test ERROR on linus/master v6.3-rc7] [cannot apply to broonie-spi/for-next v6.3-rc7 v6.3-rc6 v6.3-rc5] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dhruva-Gole/spi-cadence-quadspi-use-macro-DEFINE_SIMPLE_DEV_PM_OPS/20230419-165052 patch link: https://lore.kernel.org/r/20230419084817.481136-1-d-gole%40ti.com patch subject: [PATCH V2] spi: cadence-quadspi: use macro DEFINE_SIMPLE_DEV_PM_OPS config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230419/202304191900.2fARFQW9-lkp@xxxxxxxxx/config) compiler: m68k-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/83ce1615dd395c8034756cc6aa97b38c16c0b07d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dhruva-Gole/spi-cadence-quadspi-use-macro-DEFINE_SIMPLE_DEV_PM_OPS/20230419-165052 git checkout 83ce1615dd395c8034756cc6aa97b38c16c0b07d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Link: https://lore.kernel.org/oe-kbuild-all/202304191900.2fARFQW9-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> drivers/spi/spi-cadence-quadspi.c:1918:24: error: 'cqspi_dev_pm_ops' undeclared here (not in a function); did you mean 'cqspi_mem_ops'? 1918 | .pm = &cqspi_dev_pm_ops, | ^~~~~~~~~~~~~~~~ | cqspi_mem_ops vim +1918 drivers/spi/spi-cadence-quadspi.c 1912 1913 static struct platform_driver cqspi_platform_driver = { 1914 .probe = cqspi_probe, 1915 .remove_new = cqspi_remove, 1916 .driver = { 1917 .name = CQSPI_NAME, > 1918 .pm = &cqspi_dev_pm_ops, 1919 .of_match_table = cqspi_dt_ids, 1920 }, 1921 }; 1922 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests