Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

include: linux: firmware: Correct config dependency of zynqmp_eemi_ops

zynqmp_eemi_ops will be compiled only when CONFIG_ZYNQMP_FIRMWARE is
enabled. So check for CONFIG_ZYNQMP_FIRMWARE instead of checking for
CONFIG_ARCH_ZYNQMP.

Signed-off-by: Tejas Patel <tejas.patel@xilinx.com>
Signed-off-by: Jolly Shah <jolly.shah@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

authored by

Tejas Patel and committed by
Michal Simek
dceeb0f0 bb6d3fb3

+1 -1
+1 -1
include/linux/firmware/xlnx-zynqmp.h
··· 320 320 int zynqmp_pm_invoke_fn(u32 pm_api_id, u32 arg0, u32 arg1, 321 321 u32 arg2, u32 arg3, u32 *ret_payload); 322 322 323 - #if IS_REACHABLE(CONFIG_ARCH_ZYNQMP) 323 + #if IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE) 324 324 const struct zynqmp_eemi_ops *zynqmp_pm_get_eemi_ops(void); 325 325 #else 326 326 static inline struct zynqmp_eemi_ops *zynqmp_pm_get_eemi_ops(void)