[PATCH 2/2] clk: imx: add i.MX95 BLK CTL clk driver
kernel test robot
lkp at intel.com
Sat Mar 2 17:42:43 PST 2024
Hi Peng,
kernel test robot noticed the following build errors:
[auto build test ERROR on 22ba90670a51a18c6b36d285fddf92b9887c0bc3]
url: https://github.com/intel-lab-lkp/linux/commits/Peng-Fan-OSS/dt-bindindgs-clock-support-NXP-i-MX95-BLK-CTL-module/20240228-122408
base: 22ba90670a51a18c6b36d285fddf92b9887c0bc3
patch link: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v1-2-9b5ae3c14d83%40nxp.com
patch subject: [PATCH 2/2] clk: imx: add i.MX95 BLK CTL clk driver
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240303/202403030856.IfA30QpA-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240303/202403030856.IfA30QpA-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403030856.IfA30QpA-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/device/driver.h:21,
from include/linux/device.h:32,
from include/linux/pm_runtime.h:11,
from drivers/clk/imx/clk-imx95-blk-ctl.c:9:
>> drivers/clk/imx/clk-imx95-blk-ctl.c:425:25: error: 'imx95_blk_ctl_match' undeclared here (not in a function); did you mean 'imx95_bc_of_match'?
425 | MODULE_DEVICE_TABLE(of, imx95_blk_ctl_match);
| ^~~~~~~~~~~~~~~~~~~
include/linux/module.h:244:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
244 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~
>> include/linux/module.h:244:21: error: '__mod_of__imx95_blk_ctl_match_device_table' aliased to undefined symbol 'imx95_blk_ctl_match'
244 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~~~
drivers/clk/imx/clk-imx95-blk-ctl.c:425:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
425 | MODULE_DEVICE_TABLE(of, imx95_blk_ctl_match);
| ^~~~~~~~~~~~~~~~~~~
vim +425 drivers/clk/imx/clk-imx95-blk-ctl.c
415
416 static const struct of_device_id imx95_bc_of_match[] = {
417 { .compatible = "nxp,imx95-cameramix-csr", .data = &camblk_dev_data },
418 { .compatible = "nxp,imx95-display-master-csr", },
419 { .compatible = "nxp,imx95-dispmix-lvds-csr", .data = &lvds_csr_dev_data },
420 { .compatible = "nxp,imx95-dispmix-csr", .data = &dispmix_csr_dev_data },
421 { .compatible = "nxp,imx95-netcmix-blk-ctrl", },
422 { .compatible = "nxp,imx95-vpumix-csr", .data = &vpublk_dev_data },
423 { /* Sentinel */ },
424 };
> 425 MODULE_DEVICE_TABLE(of, imx95_blk_ctl_match);
426
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list