diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-05-02 05:08:06 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-08 08:36:36 -0400 |
commit | 390e0cfd320b28d6964b92d83d59168a33c28866 (patch) | |
tree | 769a24ef3085e334922bbd8043768a1bcc69d10b /arch/arm/mach-tegra/powergate.c | |
parent | 21cc1b7ede3cf456cf1d51f8a906093261f7c111 (diff) |
ARM: tegra: use machine specific hook for late init
Cc: Colin Cross <ccross@android.com>
Cc: Olof Johansson <olof@lixom.net>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'arch/arm/mach-tegra/powergate.c')
-rw-r--r-- | arch/arm/mach-tegra/powergate.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c index c238699ae86f..f5b12fb4ff12 100644 --- a/arch/arm/mach-tegra/powergate.c +++ b/arch/arm/mach-tegra/powergate.c | |||
@@ -234,7 +234,7 @@ static const struct file_operations powergate_fops = { | |||
234 | .release = single_release, | 234 | .release = single_release, |
235 | }; | 235 | }; |
236 | 236 | ||
237 | static int __init powergate_debugfs_init(void) | 237 | int __init tegra_powergate_debugfs_init(void) |
238 | { | 238 | { |
239 | struct dentry *d; | 239 | struct dentry *d; |
240 | int err = -ENOMEM; | 240 | int err = -ENOMEM; |
@@ -247,6 +247,4 @@ static int __init powergate_debugfs_init(void) | |||
247 | return err; | 247 | return err; |
248 | } | 248 | } |
249 | 249 | ||
250 | late_initcall(powergate_debugfs_init); | ||
251 | |||
252 | #endif | 250 | #endif |