aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Rajan Vaja <rajan.vaja@xilinx.com> 2023-10-27 00:53:58 +0530
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2023-10-27 13:16:31 +0200
commit79614953e815b8c3b063fe68efa3cf508260ac0d (patch)
tree1472c545dcbcfa7a68c1d4ff888505f5df11846f
parentMerge tag 'extcon-next-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-79614953e815b8c3b063fe68efa3cf508260ac0d.tar.gz
linux-79614953e815b8c3b063fe68efa3cf508260ac0d.tar.bz2
linux-79614953e815b8c3b063fe68efa3cf508260ac0d.zip
firmware: xilinx: Move EXPORT_SYMBOL_GPL next to zynqmp_pm_feature definition
As mentioned in Documentation/process/coding-style.rst: In source files, separate functions with one blank line. If the function is exported, the **EXPORT** macro for it should follow immediately after the closing function brace line. So inline with guideline move zynqmp_pm_feature export symbol after its definition. Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> Link: https://lore.kernel.org/r/1698348238-2320426-1-git-send-email-radhey.shyam.pandey@amd.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/firmware/xilinx/zynqmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c
index 4cc1ac7f76ed..b0d22d4455d9 100644
--- a/drivers/firmware/xilinx/zynqmp.c
+++ b/drivers/firmware/xilinx/zynqmp.c
@@ -226,7 +226,6 @@ static int do_feature_check_call(const u32 api_id)
return ret;
}
-EXPORT_SYMBOL_GPL(zynqmp_pm_feature);
/**
* zynqmp_pm_feature() - Check whether given feature is supported or not and
@@ -246,6 +245,7 @@ int zynqmp_pm_feature(const u32 api_id)
return ret;
}
+EXPORT_SYMBOL_GPL(zynqmp_pm_feature);
/**
* zynqmp_pm_is_function_supported() - Check whether given IOCTL/QUERY function