Commit b19a33ca authored by Adrian Bunk's avatar Adrian Bunk Committed by Paul Mundt

sh: export get_cpu_subtype

This patch fixes the following build error:

<--  snip  -->

...
  MODPOST 1837 modules
ERROR: "get_cpu_subtype" [arch/sh/oprofile/oprofile.ko] undefined!
...
make[2]: *** [__modpost] Error 1

<--  snip  -->
Reported-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 82706b8f
...@@ -398,6 +398,7 @@ const char *get_cpu_subtype(struct sh_cpuinfo *c) ...@@ -398,6 +398,7 @@ const char *get_cpu_subtype(struct sh_cpuinfo *c)
{ {
return cpu_name[c->type]; return cpu_name[c->type];
} }
EXPORT_SYMBOL(get_cpu_subtype);
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
/* Symbolic CPU flags, keep in sync with asm/cpu-features.h */ /* Symbolic CPU flags, keep in sync with asm/cpu-features.h */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment