linux/drivers/soc
Randy Dunlap 6b9d226b84 soc: qcom: fix QCOM_AOSS_QMP dependency and build errors
Fix Kconfig warning and subsequent build errors that are caused
when PM_GENERIC_DOMAINS=y but CONFIG_PM is not set/enabled.

WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS
  Depends on [n]: PM [=n]
  Selected by [m]:
  - QCOM_AOSS_QMP [=m] && (ARCH_QCOM || COMPILE_TEST [=y]) && MAILBOX [=y] && COMMON_CLK [=y]

Fixes these build errors:

../drivers/base/power/domain.c: In function ‘genpd_queue_power_off_work’:
../drivers/base/power/domain.c:485:13: error: ‘pm_wq’ undeclared (first use in this function)
  queue_work(pm_wq, &genpd->power_off_work);
../drivers/base/power/domain.c:485:13: note: each undeclared identifier is reported only once for each function it appears in
../drivers/base/power/domain.c: In function ‘genpd_dev_pm_qos_notifier’:
../drivers/base/power/domain.c:675:25: error: ‘struct dev_pm_info’ has no member named ‘ignore_children’
   if (!dev || dev->power.ignore_children)
../drivers/base/power/domain.c: In function ‘rtpm_status_str’:
../drivers/base/power/domain.c:2754:16: error: ‘struct dev_pm_info’ has no member named ‘runtime_error’
  if (dev->power.runtime_error)
../drivers/base/power/domain.c:2756:21: error: ‘struct dev_pm_info’ has no member named ‘disable_depth’
  else if (dev->power.disable_depth)
../drivers/base/power/domain.c:2758:21: error: ‘struct dev_pm_info’ has no member named ‘runtime_status’
  else if (dev->power.runtime_status < ARRAY_SIZE(status_lookup))
../drivers/base/power/domain.c:2759:31: error: ‘struct dev_pm_info’ has no member named ‘runtime_status’
   p = status_lookup[dev->power.runtime_status];
../drivers/base/power/domain_governor.c: In function ‘default_suspend_ok’:
../drivers/base/power/domain_governor.c:82:17: error: ‘struct dev_pm_info’ has no member named ‘ignore_children’

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Andy Gross <andy.gross@linaro.org>
Cc: David Brown <david.brown@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-06-14 22:18:11 -07:00
..
actions soc: actions: sps: Add S900 power domains 2018-09-30 16:48:10 +02:00
amlogic soc: amlogic: meson-gx-pwrc-vpu: Add support for G12A 2019-04-16 11:09:53 -07:00
aspeed ARM: SoC-related driver updates 2019-05-16 09:19:14 -07:00
atmel ARM: at91: add support in soc driver for new SAM9X60 2018-12-12 11:55:20 +01:00
bcm This pull request brings in a build fix for arm64 with bcm2835 2019-03-18 10:31:24 -07:00
dove soc: Convert to using %pOFn instead of device_node.name 2018-10-04 14:16:01 -05:00
fsl soc/fsl/qe: Fix an error code in qe_pin_request() 2019-04-02 18:02:48 -05:00
gemini
imx ARM: SoC-related driver updates 2019-05-16 09:19:14 -07:00
ixp4xx soc: ixp4xx: qmgr: Fix an NULL vs IS_ERR() check in probe 2019-05-16 10:53:11 -07:00
lantiq MIPS: lantiq: Remove separate GPHY Firmware loader 2019-02-25 14:17:10 -08:00
mediatek soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher 2019-04-12 21:57:49 +02:00
qcom soc: qcom: fix QCOM_AOSS_QMP dependency and build errors 2019-06-14 22:18:11 -07:00
renesas soc: renesas: Identify R-Car M3-W ES1.3 2019-03-18 10:33:42 +01:00
rockchip soc: rockchip: Set the proper PWM for rk3288 2019-04-11 13:40:32 +02:00
samsung
sunxi soc: sunxi: Fix missing dependency on REGMAP_MMIO 2019-04-30 17:55:08 +02:00
tegra soc/tegra: pmc: Move powergate initialisation to probe 2019-04-17 10:32:33 +02:00
ti Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-05-19 10:58:45 -07:00
ux500
versatile
xilinx drivers: Defer probe if firmware is not ready 2019-03-18 13:45:27 +01:00
zte
Kconfig ARM: SoC-related driver updates 2019-05-16 09:19:14 -07:00
Makefile ARM: SoC-related driver updates 2019-05-16 09:19:14 -07:00