* [freescale-fslc:pr/639 4220/24603] drivers/spi/spi-nxp-fspi.c:1311:12: error: use of undeclared identifier 'nxp_fspi_pm_ops'; did you mean 'nxp_fspi_mem_ops'?
@ 2023-09-01 6:52 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-01 6:52 UTC (permalink / raw)
To: Otavio Salvador; +Cc: oe-kbuild-all
Hi Han,
FYI, the error/warning still remains.
tree: https://github.com/Freescale/linux-fslc pr/639
head: 857fbf7cebaba3b1ffccc558deee1d13ac0e11d7
commit: b14e8d1b1ca9bcf02a4e43900141ff8f17fed3f0 [4220/24603] MLK-23644: spi: spi-nxp-fspi: enable runtime pm for fspi
config: hexagon-randconfig-001-20230831 (https://download.01.org/0day-ci/archive/20230901/202309011423.Ers9SZ00-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230901/202309011423.Ers9SZ00-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309011423.Ers9SZ00-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/spi/spi-nxp-fspi.c:1311:12: error: use of undeclared identifier 'nxp_fspi_pm_ops'; did you mean 'nxp_fspi_mem_ops'?
.pm = &nxp_fspi_pm_ops,
^~~~~~~~~~~~~~~
nxp_fspi_mem_ops
drivers/spi/spi-nxp-fspi.c:1086:44: note: 'nxp_fspi_mem_ops' declared here
static const struct spi_controller_mem_ops nxp_fspi_mem_ops = {
^
>> drivers/spi/spi-nxp-fspi.c:1311:11: error: incompatible pointer types initializing 'const struct dev_pm_ops *' with an expression of type 'const struct spi_controller_mem_ops *' [-Werror,-Wincompatible-pointer-types]
.pm = &nxp_fspi_pm_ops,
^~~~~~~~~~~~~~~~
2 errors generated.
vim +1311 drivers/spi/spi-nxp-fspi.c
55ab8487e01d184 kuldip dwivedi 2020-09-11 1305
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1306 static struct platform_driver nxp_fspi_driver = {
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1307 .driver = {
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1308 .name = "nxp-fspi",
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1309 .of_match_table = nxp_fspi_dt_ids,
55ab8487e01d184 kuldip dwivedi 2020-09-11 1310 .acpi_match_table = ACPI_PTR(nxp_fspi_acpi_ids),
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 @1311 .pm = &nxp_fspi_pm_ops,
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1312 },
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1313 .probe = nxp_fspi_probe,
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1314 .remove = nxp_fspi_remove,
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1315 };
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1316 module_platform_driver(nxp_fspi_driver);
a5356aef6a907c2 Yogesh Narayan Gaur 2019-01-15 1317
:::::: The code at line 1311 was first introduced by commit
:::::: a5356aef6a907c2e2aed0caaa2b88b6021394471 spi: spi-mem: Add driver for NXP FlexSPI controller
:::::: TO: Yogesh Narayan Gaur <yogeshnarayan.gaur@nxp.com>
:::::: CC: Mark Brown <broonie@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-01 6:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-01 6:52 [freescale-fslc:pr/639 4220/24603] drivers/spi/spi-nxp-fspi.c:1311:12: error: use of undeclared identifier 'nxp_fspi_pm_ops'; did you mean 'nxp_fspi_mem_ops'? kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.