drivers/video/fbdev/g364fb.c:115:9: error: 'FB_DEFAULT_IOMEM_HELPERS' undeclared here (not in a function); did you mean 'FB_DEFAULT_IOMEM_OPS'?

From: kernel test robot
Date: Sat Sep 02 2023 - 03:19:21 EST


Hi Thomas,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0468be89b3fa5b9249cee1097f1d50314950a2df
commit: 5011260838551cefbf23d60b48c3243b6d5530a2 fbdev/g364fb: Use fbdev I/O helpers
date: 4 weeks ago
config: mips-jazz_defconfig (https://download.01.org/0day-ci/archive/20230902/202309021523.xzaOVMYD-lkp@xxxxxxxxx/config)
compiler: mipsel-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230902/202309021523.xzaOVMYD-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309021523.xzaOVMYD-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/video/fbdev/g364fb.c:115:9: error: 'FB_DEFAULT_IOMEM_HELPERS' undeclared here (not in a function); did you mean 'FB_DEFAULT_IOMEM_OPS'?
115 | FB_DEFAULT_IOMEM_HELPERS,
| ^~~~~~~~~~~~~~~~~~~~~~~~
| FB_DEFAULT_IOMEM_OPS


vim +115 drivers/video/fbdev/g364fb.c

112
113 static const struct fb_ops g364fb_ops = {
114 .owner = THIS_MODULE,
> 115 FB_DEFAULT_IOMEM_HELPERS,
116 .fb_setcolreg = g364fb_setcolreg,
117 .fb_pan_display = g364fb_pan_display,
118 .fb_blank = g364fb_blank,
119 };
120

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki