Subject: linux-next: build failure after merge of the pm tree

From: Stephen Rothwell <[email-masked]>
Date: Fri, 5 Feb 2021 11:51:53 +1100

Hi all,

After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c: In function 'tc35876x_brightness_init':
drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c:454:8: error: implicit declaration of function 'intel_scu_ipc_ioread8'; did you mean 'intel_scu_ipc_readv'? [-Werror=implicit-function-declaration]
  454 |  ret = intel_scu_ipc_ioread8(GPIOPWMCTRL, &pwmctrl);
      |        ^~~~~~~~~~~~~~~~~~~~~
      |        intel_scu_ipc_readv
drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c:461:9: error: implicit declaration of function 'intel_scu_ipc_iowrite8'; did you mean 'intel_scu_ipc_writev'? [-Werror=implicit-function-declaration]
  461 |   ret = intel_scu_ipc_iowrite8(GPIOPWMCTRL, 0x01);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         intel_scu_ipc_writev
drivers/watchdog/intel_scu_watchdog.c:34:10: fatal error: asm/apb_timer.h: No such file or directory
   34 | #include <asm/apb_timer.h>
      |          ^~~~~~~~~~~~~~~~~
drivers/rtc/rtc-mrst.c:38:10: fatal error: asm/intel_mid_vrtc.h: No such file or directory
   38 | #include <asm/intel_mid_vrtc.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~

Caused by commits

  80b6aebc7705 ("x86/platform/intel-mid: Remove unused leftovers (vRTC)")
  975272714c6f ("x86/apb_timer: Remove driver for deprecated platform")
  08a1ce661b5c ("mfd: intel_msic: Remove driver for deprecated platform")

I have used the pm tree from next-20210204 for today.

-- 
Cheers,
Stephen Rothwell