[tobetter:odroid-7.2.y 1/58] drivers/video/fbdev/sh1106fb.c:20:10: fatal error: 'linux/of_gpio.h' file not found

kernel test robot <[email protected]> Sat, 01 Aug 2026 06:25:03 +0800
Newsgroups dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://github.com/tobetter/linux odroid-7.2.y
head:   b975acfb39259020dffed242fcfba388a6f4e354
commit: a7f14d616999ff734886c89b75b3f701b77ffd2d [1/58] ODROID-COMMON: fbdev: add support for Sino Wealth SH1106 OLED controller
config: i386-randconfig-006-20260801 (https://download.01.org/0day-ci/archive/20260801/[email protected]/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260801/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> drivers/video/fbdev/sh1106fb.c:20:10: fatal error: 'linux/of_gpio.h' file not found
      20 | #include <linux/of_gpio.h>
         |          ^~~~~~~~~~~~~~~~~
   1 error generated.


vim +20 drivers/video/fbdev/sh1106fb.c

  > 20	#include <linux/of_gpio.h>
    21	#include <linux/uaccess.h>
    22	

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