Hi Robert,
FYI, the error/warning still remains.
tree:
https://github.com/Freescale/linux-fslc 5.4-2.3.x-imx
head: ed8f0b9dafc6dfcfccb4507a8ae71aa294b2088b
commit: e15e046b8fceb6ae7c94d0ad78ef00a7432efb7b [12917/20737] MLK-24334-1: drm/panel: Add
support for WKS-101WX001-WCT parallel display
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 11.2.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/Freescale/linux-fslc/commit/e15e046b8fceb6ae7c94d0ad78...
git remote add freescale-fslc
https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc 5.4-2.3.x-imx
git checkout e15e046b8fceb6ae7c94d0ad78ef00a7432efb7b
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=sh SHELL=/bin/bash drivers/gpu/drm/panel/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/panel/panel-wks-101wx001.c:10:
> drivers/gpu/drm/panel/panel-wks-101wx001.c:216:25: error:
'platform_of_match' undeclared here (not in a function)
216 |
MODULE_DEVICE_TABLE(of, platform_of_match);
| ^~~~~~~~~~~~~~~~~
include/linux/module.h:227:15: note: in definition of macro
'MODULE_DEVICE_TABLE'
227 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~
> include/linux/module.h:227:21: error:
'__mod_of__platform_of_match_device_table' aliased to undefined symbol
'platform_of_match'
227 | extern typeof(name)
__mod_##type##__##name##_device_table \
| ^~~~~~
drivers/gpu/drm/panel/panel-wks-101wx001.c:216:1: note: in expansion of macro
'MODULE_DEVICE_TABLE'
216 | MODULE_DEVICE_TABLE(of, platform_of_match);
| ^~~~~~~~~~~~~~~~~~~
vim +/platform_of_match +216 drivers/gpu/drm/panel/panel-wks-101wx001.c
211
212 static const struct of_device_id wks_of_match[] = {
213 { .compatible = "wks,101wx001", },
214 { /* sentinel */ }
215 };
216 MODULE_DEVICE_TABLE(of, platform_of_match);
217
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org