-
由 Nobuhiro Iwamatsu 提交于
stable inclusion from stable-5.10.37 commit 305a936af4fcecdcbb6f98e17fe81e7d85b3adf6 bugzilla: 51868 CVE: NA -------------------------------- [ Upstream commit 79bfe480 ] zynqmp_pm_get_eemi_ops() was removed in commit 4db8180f: "Firmware: xilinx: Remove eemi ops for fpga related APIs", but not in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE). Any driver who want to communicate with PMC using EEMI APIs use the functions provided for each function This removed zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE), and also modify the documentation for this driver. Fixes: 4db8180f ("firmware: xilinx: Remove eemi ops for fpga related APIs") Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> Link: https://lore.kernel.org/r/20210215155849.2425846-1-iwamatsu@nigauri.orgSigned-off-by: NMichal Simek <michal.simek@xilinx.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
df87be2a