linux/drivers/soc/qcom
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
..
apr.c qcom: apr: Make apr callbacks in non-atomic context 2019-06-11 21:51:07 -07:00
cmd-db.c soc: qcom: cmd-db: Fix an error code in cmd_db_dev_probe() 2019-03-27 23:32:26 -05:00
glink_ssr.c soc: qcom: GLINK SSR notifier 2017-08-02 12:43:29 -07:00
Kconfig soc: qcom: fix QCOM_AOSS_QMP dependency and build errors 2019-06-14 22:18:11 -07:00
llcc-sdm845.c qcom: soc: llcc-slice: Clear the global drv_data pointer on error 2019-02-12 15:27:14 -06:00
llcc-slice.c soc: qcom: llcc-slice: Fix typos 2019-02-15 16:30:34 -06:00
Makefile soc: qcom: Add AOSS QMP driver 2019-06-11 21:52:18 -07:00
mdt_loader.c remoteproc: qcom: mdt_loader: Make the firmware authentication optional 2018-06-18 15:55:31 -07:00
qcom_aoss.c soc: qcom: Add AOSS QMP driver 2019-06-11 21:52:18 -07:00
qcom_gsbi.c soc: qcom: gsbi: Fix error handling in gsbi_probe() 2019-02-01 16:08:52 -06:00
qcom-geni-se.c soc: qcom: Add irq clear handling during SE init 2018-11-14 09:51:50 -08:00
qmi_encdec.c soc: qcom: Introduce QMI encoder/decoder 2017-12-20 15:38:34 -06:00
qmi_interface.c soc: qcom: qmi: Change txn wait to non-interruptible 2019-03-27 23:32:26 -05:00
rmtfs_mem.c soc: qcom: rmtfs: Add support for mmap functionality 2019-03-27 23:32:25 -05:00
rpmh-internal.h drivers: qcom: rpmh: add support for batch RPMH request 2018-07-21 13:33:36 -05:00
rpmh-rsc.c drivers: soc: qcom: rpmh-rsc: Correct check for slot number 2019-04-09 23:40:09 -05:00
rpmh.c soc: qcom: rpmh: Avoid accessing freed memory from batch API 2019-02-01 16:08:45 -06:00
rpmhpd.c soc: qcom: rpmhpd: Mark mx as a parent for cx 2019-01-22 15:10:15 -06:00
rpmpd.c soc: qcom: rpmpd: Add MSM8998 power-domains 2019-05-29 21:40:44 -05:00
smd-rpm.c soc: qcom: smd-rpm: Add sdm660 compatible 2019-02-01 16:08:58 -06:00
smem_state.c soc: qcom: Update properties for smem state referencing 2016-06-24 22:53:41 -05:00
smem.c soc: qcom: smem: a few last cleanups 2018-09-13 16:57:11 -05:00
smp2p.c soc: qcom: smp2p: Use common error handling code in qcom_smp2p_probe() 2018-01-01 00:29:09 -06:00
smsm.c soc: qcom: smsm: fix child-node lookup 2017-12-20 15:38:34 -06:00
spm.c soc: qcom: spm: add SCM probe dependency 2018-09-13 16:11:38 -05:00
trace-rpmh.h drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE 2018-07-21 13:32:31 -05:00
wcnss_ctrl.c soc: qcom: wcnss_ctrl: Avoid string overflow 2018-09-13 16:11:36 -05:00