aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/cpu/cpu_x86.c
diff options
context:
space:
mode:
authorWolfgang Wallner2020-02-25 13:19:47 +0100
committerBin Meng2020-03-05 18:25:22 +0800
commitfc35d7e1b1acc915111cff1ab73c24e56dba3a9d (patch)
tree841a754f9d14c689e132beff0e86bf19e09a6d5c /arch/x86/cpu/cpu_x86.c
parent6301615e5440594d9c8e1283de21299f56cc95a8 (diff)
x86: cpu_x86: Make cpu_x86_get_count() non-static
The function cpu_x86_get_count() is also useful for other modules. Make it non-static and add a prototype + description. Signed-off-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/cpu_x86.c')
-rw-r--r--arch/x86/cpu/cpu_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/cpu_x86.c b/arch/x86/cpu/cpu_x86.c
index 1aaf851bb45..3f2ba0881e8 100644
--- a/arch/x86/cpu/cpu_x86.c
+++ b/arch/x86/cpu/cpu_x86.c
@@ -52,7 +52,7 @@ int cpu_x86_get_desc(struct udevice *dev, char *buf, int size)
return 0;
}
-static int cpu_x86_get_count(struct udevice *dev)
+int cpu_x86_get_count(struct udevice *dev)
{
int node, cpu;
int num = 0;