firmware: xilinx: export the feature check of zynqmp firmware
authorAbhyuday Godhasara <abhyuday.godhasara@xilinx.com>
Tue, 26 Oct 2021 04:25:22 +0000 (21:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Nov 2021 15:11:48 +0000 (16:11 +0100)
commitf4d77525679e289d4976ca03b620ac4cc5403205
tree2101df8cbaacdb74e8adb61c870554da6cbadfda
parentfbce9f14055e547d270046f61758c29c957e675d
firmware: xilinx: export the feature check of zynqmp firmware

Export the zynqmp_pm_feature(), so it can be use by other as to get API
version available in firmware.

Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com>
Link: https://lore.kernel.org/r/20211026042525.26612-4-abhyuday.godhasara@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/xilinx/zynqmp.c
include/linux/firmware/xlnx-zynqmp.h