Skip to content

Commit

Permalink
arm64: cpufeature: declare enable_cpu_capabilities as static
Browse files Browse the repository at this point in the history
enable_cpu_capabilities is only called from within cpufeature.c, so it
can be declared static.

Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
  • Loading branch information
wildea01 authored and ctmarinas committed Oct 28, 2015
1 parent 6bccb49 commit fde4a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/kernel/cpufeature.c
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ void update_cpu_capabilities(const struct arm64_cpu_capabilities *caps,
* Run through the enabled capabilities and enable() it on all active
* CPUs
*/
void enable_cpu_capabilities(const struct arm64_cpu_capabilities *caps)
static void enable_cpu_capabilities(const struct arm64_cpu_capabilities *caps)
{
int i;

Expand Down

0 comments on commit fde4a59

Please sign in to comment.