summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/pm.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-03-29 14:41:27 +0800
committerShawn Guo <shawn.guo@linaro.org>2013-04-04 21:15:57 +0800
commit45680995cd8ccf5eb71a1808eb96408589d37a26 (patch)
tree0ad2b5c89a2a4138de4f2538180833491f8d8f06 /arch/arm/mach-mxs/pm.h
parente933a1a12a02f42e0013cda87bba37ccb59efc47 (diff)
downloadblackbird-op-linux-45680995cd8ccf5eb71a1808eb96408589d37a26.tar.gz
blackbird-op-linux-45680995cd8ccf5eb71a1808eb96408589d37a26.zip
ARM: mxs: call mxs_pm_init() as a machine_desc hook
The device_initcall is not a friend of multiplatform build. Call mxs_pm_init() as a machine_desc hook instead of device_initcall. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs/pm.h')
-rw-r--r--arch/arm/mach-mxs/pm.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/pm.h b/arch/arm/mach-mxs/pm.h
new file mode 100644
index 000000000000..f57e7cdece2e
--- /dev/null
+++ b/arch/arm/mach-mxs/pm.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2013 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __ARCH_MXS_PM_H
+#define __ARCH_MXS_PM_H
+
+void mxs_pm_init(void);
+
+#endif
OpenPOWER on IntegriCloud