Skip to content

Commit 7961495

Browse files
rajanv-xilinxgregkh
authored andcommitted
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>
1 parent 5ab1a04 commit 7961495

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/firmware/xilinx/zynqmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ static int do_feature_check_call(const u32 api_id)
226226

227227
return ret;
228228
}
229-
EXPORT_SYMBOL_GPL(zynqmp_pm_feature);
230229

231230
/**
232231
* zynqmp_pm_feature() - Check whether given feature is supported or not and
@@ -246,6 +245,7 @@ int zynqmp_pm_feature(const u32 api_id)
246245

247246
return ret;
248247
}
248+
EXPORT_SYMBOL_GPL(zynqmp_pm_feature);
249249

250250
/**
251251
* zynqmp_pm_is_function_supported() - Check whether given IOCTL/QUERY function

0 commit comments

Comments
 (0)