diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-04-26 04:05:15 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-05 08:20:34 +0200 |
commit | c914283f5e5f55ddf770b8632a5e65e5aa24343e (patch) | |
tree | 052aeba7e4539243d0704ce0fcc24945e0a1e11c /arch/arm/mach-ep93xx/crunch.c | |
parent | ARM: davinci: use machine specific hook for late init (diff) | |
download | linux-c914283f5e5f55ddf770b8632a5e65e5aa24343e.tar.xz linux-c914283f5e5f55ddf770b8632a5e65e5aa24343e.zip |
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.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-ep93xx/crunch.c b/arch/arm/mach-ep93xx/crunch.c index 74753e2df603..a4a2ab9648c9 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); |