kernel_samsung_a53x/include/soc/samsung
Nahuel Gómez 82eba12440 exynos-pm: fix build without CONFIG_SEC_PM_DEBUG
We remove the checks to allow the function to be used anyway.

../drivers/soc/samsung/exynos-pm/exynos-pm.c:107:10: error: declaration of 'struct wakeup_stat_name' will not be visible outside of this function [-Werror,-Wvisibility]
  107 |                 struct wakeup_stat_name *ws_names)
      |                        ^
../drivers/soc/samsung/exynos-pm/exynos-pm.c:114:18: error: incomplete definition of type 'struct wakeup_stat_name'
  114 |                 name = ws_names->name[bit];
      |                        ~~~~~~~~^
../drivers/soc/samsung/exynos-pm/exynos-pm.c:107:10: note: forward declaration of 'struct wakeup_stat_name'
  107 |                 struct wakeup_stat_name *ws_names)
      |                        ^
../drivers/soc/samsung/exynos-pm/exynos-pm.c:131:25: error: no member named 'ws_names' in 'struct exynos_pm_info'
  131 |         if (unlikely(!pm_info->ws_names))
      |                       ~~~~~~~  ^
../include/linux/compiler.h:78:42: note: expanded from macro 'unlikely'
   78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
      |                                             ^
../drivers/soc/samsung/exynos-pm/exynos-pm.c:143:51: error: no member named 'ws_names' in 'struct exynos_pm_info'
  143 |                 exynos_show_wakeup_reason_sysint(wss, &pm_info->ws_names[i]);
      |                                                        ~~~~~~~  ^
../drivers/soc/samsung/exynos-pm/exynos-pm.c:465:11: error: no member named 'ws_names' in 'struct exynos_pm_info'
  465 |         pm_info->ws_names = kzalloc(sizeof(*pm_info->ws_names) * n, GFP_KERNEL);
      |         ~~~~~~~  ^
../drivers/soc/samsung/exynos-pm/exynos-pm.c:465:47: error: no member named 'ws_names' in 'struct exynos_pm_info'
  465 |         pm_info->ws_names = kzalloc(sizeof(*pm_info->ws_names) * n, GFP_KERNEL);
      |                                             ~~~~~~~  ^
../drivers/soc/samsung/exynos-pm/exynos-pm.c:466:16: error: no member named 'ws_names' in 'struct exynos_pm_info'
  466 |         if (!pm_info->ws_names)
      |              ~~~~~~~  ^
../drivers/soc/samsung/exynos-pm/exynos-pm.c:478:14: error: no member named 'ws_names' in 'struct exynos_pm_info'
  478 |                                 pm_info->ws_names[idx].name, size);
      |                                 ~~~~~~~  ^
8 errors generated.

Signed-off-by: Nahuel Gómez <nahuelgomez329@gmail.com>
2024-11-19 17:39:21 +01:00
..
acpm_ipc_ctrl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acpm_mfd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
asv_g_spec.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bts.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cal-if.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cmu_ewf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cpu_cooling.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug-snapshot-log.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug-snapshot.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dev_cooling.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsu_theodul_errata.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ect_parser.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-acme.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-adv-tracer-ipc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-bcm_dbg-dt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-bcm_dbg-dump.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-bcm_dbg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-cm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-cpif-iommu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-cpuhp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-cpupm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-devfreq-dep.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-devfreq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-dm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-ehld.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-el2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-el3_mon.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-gpu-profiler.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-hvc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-itmon.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-mcinfo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-migov-shared.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-migov.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-modem-ctrl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-pcie-iommu-exp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-pd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-pm.h exynos-pm: fix build without CONFIG_SEC_PM_DEBUG 2024-11-19 17:39:21 +01:00
exynos-pmu-if.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-ppmpu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-profiler.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-s2mpu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-sci.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-sci_dbg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-sdm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-seclog.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-seh.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-smc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-ssld.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-tzasc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-ufcc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos-wow.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos_amb_control.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos_debug_freq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exynos_pm_qos.h exynos_pm_qos: Remove exynos_pm_qos_update_request_timeout() 2024-11-17 17:44:09 +01:00
freq-qos-tracer.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fvmap.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpu_cooling.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpu_info.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imgloader.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
isp_cooling.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcu_ipc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memlogger.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
secmem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
shm_ipc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sysevent.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sysevent_notif.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tmu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xperf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00