Re: [PATCH v2] platform: chrome: Add cros-ec-pd-notify driver

From: kbuild test robot
Date: Sat Dec 21 2019 - 20:28:52 EST


Hi Prashant,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on chrome-platform-linux/for-next]
[cannot apply to ljones-mfd/for-mfd-next linus/master v5.5-rc2 next-20191220]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url: https://github.com/0day-ci/linux/commits/Prashant-Malani/platform-chrome-Add-cros-ec-pd-notify-driver/20191222-065317
base: https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

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

All errors (new ones prefixed by >>):

>> drivers/platform/chrome/cros_ec_pd_notify.c:10:10: fatal error: linux/mfd/cros_ec.h: No such file or directory
#include <linux/mfd/cros_ec.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

vim +10 drivers/platform/chrome/cros_ec_pd_notify.c

> 10 #include <linux/mfd/cros_ec.h>
11 #include <linux/platform_data/cros_ec_commands.h>
12 #include <linux/platform_data/cros_ec_pd_notify.h>
13 #include <linux/platform_data/cros_ec_proto.h>
14 #include <linux/platform_device.h>
15

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx Intel Corporation

Attachment: .config.gz
Description: application/gzip