[andersson:wip/sm8350-next-20211118 38/48] drivers/soc/qcom/pmic_glink_pan.c:9:10: fatal error: linux/soc/qcom/pmic_glink.h: No such file or directory

From: kernel test robot
Date: Tue Dec 07 2021 - 00:16:55 EST


tree: https://github.com/andersson/kernel wip/sm8350-next-20211118
head: 801a35a569988584ffd5f6028a992f636c2a6634
commit: af2e40a7c1b6390b42af215ac19c9be35554b397 [38/48] pmic_glink: Initial patch
config: powerpc-randconfig-m031-20211207 (https://download.01.org/0day-ci/archive/20211207/202112071342.1DHkP3SK-lkp@xxxxxxxxx/config)
compiler: powerpc-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/andersson/kernel/commit/af2e40a7c1b6390b42af215ac19c9be35554b397
git remote add andersson https://github.com/andersson/kernel
git fetch --no-tags andersson wip/sm8350-next-20211118
git checkout af2e40a7c1b6390b42af215ac19c9be35554b397
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/soc/qcom/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All error/warnings (new ones prefixed by >>):

>> drivers/soc/qcom/pmic_glink.c:44:26: warning: no previous prototype for 'pmic_glink_register_callback' [-Wmissing-prototypes]
44 | struct pmic_glink_owner *pmic_glink_register_callback(struct pmic_glink *pg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/soc/qcom/pmic_glink.c:67:6: warning: no previous prototype for 'pmic_glink_unregister_callback' [-Wmissing-prototypes]
67 | void pmic_glink_unregister_callback(struct pmic_glink *pg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/soc/qcom/pmic_glink.c:76:5: warning: no previous prototype for 'pmic_glink_send' [-Wmissing-prototypes]
76 | int pmic_glink_send(struct pmic_glink *pg, void *data, size_t len)
| ^~~~~~~~~~~~~~~
drivers/soc/qcom/pmic_glink.c:200:34: warning: 'pmic_glink_of_match' defined but not used [-Wunused-const-variable=]
200 | static const struct of_device_id pmic_glink_of_match[] = {
| ^~~~~~~~~~~~~~~~~~~
--
>> drivers/soc/qcom/pmic_glink_pan.c:9:10: fatal error: linux/soc/qcom/pmic_glink.h: No such file or directory
9 | #include <linux/soc/qcom/pmic_glink.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.


vim +9 drivers/soc/qcom/pmic_glink_pan.c

8
> 9 #include <linux/soc/qcom/pmic_glink.h>
10

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx