Commit 1a86f3d6 authored by David Brownell's avatar David Brownell Committed by Kevin Hilman

davinci_rev() should work from modules too

Export davinci_rev() so that users of <mach/cpu.h> CPU test code
don't need to be statically linked.
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 6905d921
...@@ -83,6 +83,7 @@ unsigned int davinci_rev(void) ...@@ -83,6 +83,7 @@ unsigned int davinci_rev(void)
{ {
return davinci_revision >> 16; return davinci_revision >> 16;
} }
EXPORT_SYMBOL(davinci_rev);
void __init davinci_check_revision(void) void __init davinci_check_revision(void)
{ {
......
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