summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx/crunch.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 10:05:15 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-05 14:20:34 +0800
commitc914283f5e5f55ddf770b8632a5e65e5aa24343e (patch)
tree052aeba7e4539243d0704ce0fcc24945e0a1e11c /arch/arm/mach-ep93xx/crunch.c
parent3aa3e8407ae9023c5ff59bf5c81fc2553c31eb70 (diff)
ARM: ep93xx: use machine specific hook for late init
Cc: Ryan Mallon <rmallon@gmail.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Diffstat (limited to 'arch/arm/mach-ep93xx/crunch.c')
-rw-r--r--arch/arm/mach-ep93xx/crunch.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-ep93xx/crunch.c b/arch/arm/mach-ep93xx/crunch.c
index 74753e2df60..a4a2ab9648c 100644
--- a/arch/arm/mach-ep93xx/crunch.c
+++ b/arch/arm/mach-ep93xx/crunch.c
@@ -79,12 +79,10 @@ static struct notifier_block crunch_notifier_block = {
.notifier_call = crunch_do,
};
-static int __init crunch_init(void)
+int __init crunch_init(void)
{
thread_register_notifier(&crunch_notifier_block);
elf_hwcap |= HWCAP_CRUNCH;
return 0;
}
-
-late_initcall(crunch_init);