mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 18:56:24 +00:00
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>
This commit is contained in:
parent
5ab1a0474c
commit
79614953e8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user