summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/common.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 21:58:41 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 20:36:35 +0800
commit21cc1b7ede3cf456cf1d51f8a906093261f7c111 (patch)
treea0e6b7cb4408bba43676db16c910edabe65ea7ce /arch/arm/mach-shmobile/common.c
parent7fea1ba58e61c17fb59dfc50c408945f307addc6 (diff)
downloadtalos-obmc-linux-21cc1b7ede3cf456cf1d51f8a906093261f7c111.tar.gz
talos-obmc-linux-21cc1b7ede3cf456cf1d51f8a906093261f7c111.zip
ARM: shmobile: use machine specific hook for late init
Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Magnus Damm <damm@opensource.se> Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Diffstat (limited to 'arch/arm/mach-shmobile/common.c')
-rw-r--r--arch/arm/mach-shmobile/common.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/common.c b/arch/arm/mach-shmobile/common.c
new file mode 100644
index 000000000000..608aba9d60d7
--- /dev/null
+++ b/arch/arm/mach-shmobile/common.c
@@ -0,0 +1,24 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <mach/common.h>
+
+void __init shmobile_init_late(void)
+{
+ shmobile_suspend_init();
+ shmobile_cpuidle_init();
+}
OpenPOWER on IntegriCloud