diff options
author | Wendy Liang <wendy.liang@xilinx.com> | 2020-11-24 11:18:18 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-12-09 21:36:34 +0300 |
commit | 463edf5a59fd8f0fe0135101d67bfca81d1e3771 (patch) | |
tree | e4dfcf59d301d168aba41d8ab99a880c803e5c7e /certs | |
parent | 7b1c9b8441aa94a549a90fa3d42687ccbad3eade (diff) | |
download | linux-463edf5a59fd8f0fe0135101d67bfca81d1e3771.tar.xz |
firmware: xlnx-zynqmp: fix compilation warning
Fix compilation warning when ZYNQMP_FIRMWARE is not defined.
include/linux/firmware/xlnx-zynqmp.h: In function
'zynqmp_pm_get_eemi_ops':
include/linux/firmware/xlnx-zynqmp.h:363:9: error: implicit
declaration of function 'ERR_PTR'
[-Werror=implicit-function-declaration]
363 | return ERR_PTR(-ENODEV);
include/linux/firmware/xlnx-zynqmp.h:363:18: note: each undeclared
identifier is reported only once for each function it appears in
include/linux/firmware/xlnx-zynqmp.h: In function
'zynqmp_pm_get_api_version':
include/linux/firmware/xlnx-zynqmp.h:367:10: error: 'ENODEV'
undeclared (first use in this function)
367 | return -ENODEV;
| ^~~~~~
Signed-off-by: Wendy Liang <wendy.liang@xilinx.com>
Link: https://lore.kernel.org/r/1606205898-12642-1-git-send-email-wendy.liang@xilinx.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions