Skip to content

Commit

Permalink
firmware: xilinx: Move EXPORT_SYMBOL_GPL next to zynqmp_pm_feature de…
Browse files Browse the repository at this point in the history
…finition

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>
  • Loading branch information
Rajan Vaja authored and Greg Kroah-Hartman committed Oct 27, 2023
1 parent 5ab1a04 commit 7961495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firmware/xilinx/zynqmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7961495

Please sign in to comment.