diff options
31 files changed, 44 insertions, 38 deletions
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 22c483d5dfa8..5c68009a9795 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
| @@ -494,7 +494,7 @@ static int __init beagle_opp_init(void) | |||
| 494 | } | 494 | } |
| 495 | return 0; | 495 | return 0; |
| 496 | } | 496 | } |
| 497 | device_initcall(beagle_opp_init); | 497 | omap_device_initcall(beagle_opp_init); |
| 498 | 498 | ||
| 499 | static void __init omap3_beagle_init(void) | 499 | static void __init omap3_beagle_init(void) |
| 500 | { | 500 | { |
diff --git a/arch/arm/mach-omap2/board-rx51-video.c b/arch/arm/mach-omap2/board-rx51-video.c index 46f4fc982766..eb667261df08 100644 --- a/arch/arm/mach-omap2/board-rx51-video.c +++ b/arch/arm/mach-omap2/board-rx51-video.c | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | #include <video/omapdss.h> | 18 | #include <video/omapdss.h> |
| 19 | #include <linux/platform_data/spi-omap2-mcspi.h> | 19 | #include <linux/platform_data/spi-omap2-mcspi.h> |
| 20 | 20 | ||
| 21 | #include "soc.h" | ||
| 21 | #include "board-rx51.h" | 22 | #include "board-rx51.h" |
| 22 | 23 | ||
| 23 | #include "mux.h" | 24 | #include "mux.h" |
| @@ -85,5 +86,5 @@ static int __init rx51_video_init(void) | |||
| 85 | return 0; | 86 | return 0; |
| 86 | } | 87 | } |
| 87 | 88 | ||
| 88 | subsys_initcall(rx51_video_init); | 89 | omap_subsys_initcall(rx51_video_init); |
| 89 | #endif /* defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) */ | 90 | #endif /* defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) */ |
diff --git a/arch/arm/mach-omap2/clock2xxx.c b/arch/arm/mach-omap2/clock2xxx.c index 1ff646908627..b870f6a9e283 100644 --- a/arch/arm/mach-omap2/clock2xxx.c +++ b/arch/arm/mach-omap2/clock2xxx.c | |||
| @@ -52,6 +52,6 @@ static int __init omap2xxx_clk_arch_init(void) | |||
| 52 | return ret; | 52 | return ret; |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | arch_initcall(omap2xxx_clk_arch_init); | 55 | omap_arch_initcall(omap2xxx_clk_arch_init); |
| 56 | 56 | ||
| 57 | 57 | ||
diff --git a/arch/arm/mach-omap2/clock3xxx.c b/arch/arm/mach-omap2/clock3xxx.c index 4eacab8f1176..0b02b4161d71 100644 --- a/arch/arm/mach-omap2/clock3xxx.c +++ b/arch/arm/mach-omap2/clock3xxx.c | |||
| @@ -94,6 +94,6 @@ static int __init omap3xxx_clk_arch_init(void) | |||
| 94 | return ret; | 94 | return ret; |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | arch_initcall(omap3xxx_clk_arch_init); | 97 | omap_arch_initcall(omap3xxx_clk_arch_init); |
| 98 | 98 | ||
| 99 | 99 | ||
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 5e304d0719a2..7709e8d4efcb 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
| @@ -68,7 +68,7 @@ static int __init omap3_l3_init(void) | |||
| 68 | 68 | ||
| 69 | return IS_ERR(pdev) ? PTR_ERR(pdev) : 0; | 69 | return IS_ERR(pdev) ? PTR_ERR(pdev) : 0; |
| 70 | } | 70 | } |
| 71 | postcore_initcall(omap3_l3_init); | 71 | omap_postcore_initcall(omap3_l3_init); |
| 72 | 72 | ||
| 73 | static int __init omap4_l3_init(void) | 73 | static int __init omap4_l3_init(void) |
| 74 | { | 74 | { |
| @@ -103,7 +103,7 @@ static int __init omap4_l3_init(void) | |||
| 103 | 103 | ||
| 104 | return IS_ERR(pdev) ? PTR_ERR(pdev) : 0; | 104 | return IS_ERR(pdev) ? PTR_ERR(pdev) : 0; |
| 105 | } | 105 | } |
| 106 | postcore_initcall(omap4_l3_init); | 106 | omap_postcore_initcall(omap4_l3_init); |
| 107 | 107 | ||
| 108 | #if defined(CONFIG_VIDEO_OMAP2) || defined(CONFIG_VIDEO_OMAP2_MODULE) | 108 | #if defined(CONFIG_VIDEO_OMAP2) || defined(CONFIG_VIDEO_OMAP2_MODULE) |
| 109 | 109 | ||
| @@ -734,4 +734,4 @@ static int __init omap2_init_devices(void) | |||
| 734 | 734 | ||
| 735 | return 0; | 735 | return 0; |
| 736 | } | 736 | } |
| 737 | arch_initcall(omap2_init_devices); | 737 | omap_arch_initcall(omap2_init_devices); |
diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c index 612b98249873..e034ab69a046 100644 --- a/arch/arm/mach-omap2/dma.c +++ b/arch/arm/mach-omap2/dma.c | |||
| @@ -293,4 +293,4 @@ static int __init omap2_system_dma_init(void) | |||
| 293 | return omap_hwmod_for_each_by_class("dma", | 293 | return omap_hwmod_for_each_by_class("dma", |
| 294 | omap2_system_dma_init_dev, NULL); | 294 | omap2_system_dma_init_dev, NULL); |
| 295 | } | 295 | } |
| 296 | arch_initcall(omap2_system_dma_init); | 296 | omap_arch_initcall(omap2_system_dma_init); |
diff --git a/arch/arm/mach-omap2/drm.c b/arch/arm/mach-omap2/drm.c index 4c7566c7e24a..ab8a0e64c5f7 100644 --- a/arch/arm/mach-omap2/drm.c +++ b/arch/arm/mach-omap2/drm.c | |||
| @@ -62,6 +62,6 @@ static int __init omap_init_drm(void) | |||
| 62 | 62 | ||
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | arch_initcall(omap_init_drm); | 65 | omap_arch_initcall(omap_init_drm); |
| 66 | 66 | ||
| 67 | #endif | 67 | #endif |
diff --git a/arch/arm/mach-omap2/emu.c b/arch/arm/mach-omap2/emu.c index b3566f68a559..cbeaca2d7695 100644 --- a/arch/arm/mach-omap2/emu.c +++ b/arch/arm/mach-omap2/emu.c | |||
| @@ -47,4 +47,4 @@ static int __init emu_init(void) | |||
| 47 | return 0; | 47 | return 0; |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | subsys_initcall(emu_init); | 50 | omap_subsys_initcall(emu_init); |
diff --git a/arch/arm/mach-omap2/fb.c b/arch/arm/mach-omap2/fb.c index d9bd965f6d07..190ae493c6ef 100644 --- a/arch/arm/mach-omap2/fb.c +++ b/arch/arm/mach-omap2/fb.c | |||
| @@ -89,7 +89,7 @@ static int __init omap_init_vrfb(void) | |||
| 89 | return 0; | 89 | return 0; |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | arch_initcall(omap_init_vrfb); | 92 | omap_arch_initcall(omap_init_vrfb); |
| 93 | #endif | 93 | #endif |
| 94 | 94 | ||
| 95 | #if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) | 95 | #if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) |
| @@ -113,6 +113,6 @@ static int __init omap_init_fb(void) | |||
| 113 | return platform_device_register(&omap_fb_device); | 113 | return platform_device_register(&omap_fb_device); |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | arch_initcall(omap_init_fb); | 116 | omap_arch_initcall(omap_init_fb); |
| 117 | 117 | ||
| 118 | #endif | 118 | #endif |
diff --git a/arch/arm/mach-omap2/gpio.c b/arch/arm/mach-omap2/gpio.c index 399acabc3d0b..40950f5af1f0 100644 --- a/arch/arm/mach-omap2/gpio.c +++ b/arch/arm/mach-omap2/gpio.c | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | #include <linux/of.h> | 23 | #include <linux/of.h> |
| 24 | #include <linux/platform_data/gpio-omap.h> | 24 | #include <linux/platform_data/gpio-omap.h> |
| 25 | 25 | ||
| 26 | #include "soc.h" | ||
| 26 | #include "omap_hwmod.h" | 27 | #include "omap_hwmod.h" |
| 27 | #include "omap_device.h" | 28 | #include "omap_device.h" |
| 28 | #include "omap-pm.h" | 29 | #include "omap-pm.h" |
| @@ -147,7 +148,7 @@ static int __init omap2_gpio_dev_init(struct omap_hwmod *oh, void *unused) | |||
| 147 | /* | 148 | /* |
| 148 | * gpio_init needs to be done before | 149 | * gpio_init needs to be done before |
| 149 | * machine_init functions access gpio APIs. | 150 | * machine_init functions access gpio APIs. |
| 150 | * Hence gpio_init is a postcore_initcall. | 151 | * Hence gpio_init is a omap_postcore_initcall. |
| 151 | */ | 152 | */ |
| 152 | static int __init omap2_gpio_init(void) | 153 | static int __init omap2_gpio_init(void) |
| 153 | { | 154 | { |
| @@ -157,4 +158,4 @@ static int __init omap2_gpio_init(void) | |||
| 157 | 158 | ||
| 158 | return omap_hwmod_for_each_by_class("gpio", omap2_gpio_dev_init, NULL); | 159 | return omap_hwmod_for_each_by_class("gpio", omap2_gpio_dev_init, NULL); |
| 159 | } | 160 | } |
| 160 | postcore_initcall(omap2_gpio_init); | 161 | omap_postcore_initcall(omap2_gpio_init); |
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 8033cb747c86..972a6fc466ca 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
| @@ -1205,7 +1205,7 @@ static __exit void gpmc_exit(void) | |||
| 1205 | 1205 | ||
| 1206 | } | 1206 | } |
| 1207 | 1207 | ||
| 1208 | postcore_initcall(gpmc_init); | 1208 | omap_postcore_initcall(gpmc_init); |
| 1209 | module_exit(gpmc_exit); | 1209 | module_exit(gpmc_exit); |
| 1210 | 1210 | ||
| 1211 | static int __init omap_gpmc_init(void) | 1211 | static int __init omap_gpmc_init(void) |
| @@ -1225,7 +1225,7 @@ static int __init omap_gpmc_init(void) | |||
| 1225 | 1225 | ||
| 1226 | return IS_ERR(pdev) ? PTR_ERR(pdev) : 0; | 1226 | return IS_ERR(pdev) ? PTR_ERR(pdev) : 0; |
| 1227 | } | 1227 | } |
| 1228 | postcore_initcall(omap_gpmc_init); | 1228 | omap_postcore_initcall(omap_gpmc_init); |
| 1229 | 1229 | ||
| 1230 | static irqreturn_t gpmc_handle_irq(int irq, void *dev) | 1230 | static irqreturn_t gpmc_handle_irq(int irq, void *dev) |
| 1231 | { | 1231 | { |
diff --git a/arch/arm/mach-omap2/hdq1w.c b/arch/arm/mach-omap2/hdq1w.c index ab7bf181a105..f6e0e7e68f9f 100644 --- a/arch/arm/mach-omap2/hdq1w.c +++ b/arch/arm/mach-omap2/hdq1w.c | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | #include <linux/err.h> | 27 | #include <linux/err.h> |
| 28 | #include <linux/platform_device.h> | 28 | #include <linux/platform_device.h> |
| 29 | 29 | ||
| 30 | #include "soc.h" | ||
| 30 | #include "omap_hwmod.h" | 31 | #include "omap_hwmod.h" |
| 31 | #include "omap_device.h" | 32 | #include "omap_device.h" |
| 32 | #include "hdq1w.h" | 33 | #include "hdq1w.h" |
| @@ -93,4 +94,4 @@ static int __init omap_init_hdq(void) | |||
| 93 | 94 | ||
| 94 | return 0; | 95 | return 0; |
| 95 | } | 96 | } |
| 96 | arch_initcall(omap_init_hdq); | 97 | omap_arch_initcall(omap_init_hdq); |
diff --git a/arch/arm/mach-omap2/hwspinlock.c b/arch/arm/mach-omap2/hwspinlock.c index 1df9b5feda16..ce1b5b6fc22c 100644 --- a/arch/arm/mach-omap2/hwspinlock.c +++ b/arch/arm/mach-omap2/hwspinlock.c | |||
| @@ -57,4 +57,4 @@ static int __init hwspinlocks_init(void) | |||
| 57 | return retval; | 57 | return retval; |
| 58 | } | 58 | } |
| 59 | /* early board code might need to reserve specific hwspinlock instances */ | 59 | /* early board code might need to reserve specific hwspinlock instances */ |
| 60 | postcore_initcall(hwspinlocks_init); | 60 | omap_postcore_initcall(hwspinlocks_init); |
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index df49f2a49461..1c0968db43bf 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | 23 | ||
| 24 | #include <linux/omap-dma.h> | 24 | #include <linux/omap-dma.h> |
| 25 | 25 | ||
| 26 | #include "soc.h" | ||
| 26 | #include "omap_device.h" | 27 | #include "omap_device.h" |
| 27 | 28 | ||
| 28 | /* | 29 | /* |
| @@ -118,4 +119,4 @@ static int __init omap2_mcbsp_init(void) | |||
| 118 | 119 | ||
| 119 | return 0; | 120 | return 0; |
| 120 | } | 121 | } |
| 121 | arch_initcall(omap2_mcbsp_init); | 122 | omap_arch_initcall(omap2_mcbsp_init); |
diff --git a/arch/arm/mach-omap2/omap-iommu.c b/arch/arm/mach-omap2/omap-iommu.c index 6da4f7ae9d7f..dd8ce6d2f4eb 100644 --- a/arch/arm/mach-omap2/omap-iommu.c +++ b/arch/arm/mach-omap2/omap-iommu.c | |||
| @@ -61,7 +61,7 @@ static int __init omap_iommu_init(void) | |||
| 61 | return omap_hwmod_for_each_by_class("mmu", omap_iommu_dev_init, NULL); | 61 | return omap_hwmod_for_each_by_class("mmu", omap_iommu_dev_init, NULL); |
| 62 | } | 62 | } |
| 63 | /* must be ready before omap3isp is probed */ | 63 | /* must be ready before omap3isp is probed */ |
| 64 | subsys_initcall(omap_iommu_init); | 64 | omap_subsys_initcall(omap_iommu_init); |
| 65 | 65 | ||
| 66 | static void __exit omap_iommu_exit(void) | 66 | static void __exit omap_iommu_exit(void) |
| 67 | { | 67 | { |
diff --git a/arch/arm/mach-omap2/omap2-restart.c b/arch/arm/mach-omap2/omap2-restart.c index be6bc89ab1e8..719b716a4494 100644 --- a/arch/arm/mach-omap2/omap2-restart.c +++ b/arch/arm/mach-omap2/omap2-restart.c | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #include <linux/clk.h> | 13 | #include <linux/clk.h> |
| 14 | #include <linux/io.h> | 14 | #include <linux/io.h> |
| 15 | 15 | ||
| 16 | #include "soc.h" | ||
| 16 | #include "common.h" | 17 | #include "common.h" |
| 17 | #include "prm2xxx.h" | 18 | #include "prm2xxx.h" |
| 18 | 19 | ||
| @@ -62,4 +63,4 @@ static int __init omap2xxx_common_look_up_clks_for_reset(void) | |||
| 62 | 63 | ||
| 63 | return 0; | 64 | return 0; |
| 64 | } | 65 | } |
| 65 | core_initcall(omap2xxx_common_look_up_clks_for_reset); | 66 | omap_core_initcall(omap2xxx_common_look_up_clks_for_reset); |
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index 6897ae21bb82..ec11e49e08e5 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c | |||
| @@ -225,7 +225,7 @@ static int __init omap_l2_cache_init(void) | |||
| 225 | 225 | ||
| 226 | return 0; | 226 | return 0; |
| 227 | } | 227 | } |
| 228 | early_initcall(omap_l2_cache_init); | 228 | omap_early_initcall(omap_l2_cache_init); |
| 229 | #endif | 229 | #endif |
| 230 | 230 | ||
| 231 | void __iomem *omap4_get_sar_ram_base(void) | 231 | void __iomem *omap4_get_sar_ram_base(void) |
| @@ -253,7 +253,7 @@ static int __init omap4_sar_ram_init(void) | |||
| 253 | 253 | ||
| 254 | return 0; | 254 | return 0; |
| 255 | } | 255 | } |
| 256 | early_initcall(omap4_sar_ram_init); | 256 | omap_early_initcall(omap4_sar_ram_init); |
| 257 | 257 | ||
| 258 | static struct of_device_id irq_match[] __initdata = { | 258 | static struct of_device_id irq_match[] __initdata = { |
| 259 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, | 259 | { .compatible = "arm,cortex-a9-gic", .data = gic_of_init, }, |
diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c index e065daa537c0..d109f06785da 100644 --- a/arch/arm/mach-omap2/omap_device.c +++ b/arch/arm/mach-omap2/omap_device.c | |||
| @@ -89,6 +89,7 @@ | |||
| 89 | #include <linux/of.h> | 89 | #include <linux/of.h> |
| 90 | #include <linux/notifier.h> | 90 | #include <linux/notifier.h> |
| 91 | 91 | ||
| 92 | #include "soc.h" | ||
| 92 | #include "omap_device.h" | 93 | #include "omap_device.h" |
| 93 | #include "omap_hwmod.h" | 94 | #include "omap_hwmod.h" |
| 94 | 95 | ||
| @@ -1259,7 +1260,7 @@ static int __init omap_device_init(void) | |||
| 1259 | bus_register_notifier(&platform_bus_type, &platform_nb); | 1260 | bus_register_notifier(&platform_bus_type, &platform_nb); |
| 1260 | return 0; | 1261 | return 0; |
| 1261 | } | 1262 | } |
| 1262 | core_initcall(omap_device_init); | 1263 | omap_core_initcall(omap_device_init); |
| 1263 | 1264 | ||
| 1264 | /** | 1265 | /** |
| 1265 | * omap_device_late_idle - idle devices without drivers | 1266 | * omap_device_late_idle - idle devices without drivers |
| @@ -1297,4 +1298,4 @@ static int __init omap_device_late_init(void) | |||
| 1297 | bus_for_each_dev(&platform_bus_type, NULL, NULL, omap_device_late_idle); | 1298 | bus_for_each_dev(&platform_bus_type, NULL, NULL, omap_device_late_idle); |
| 1298 | return 0; | 1299 | return 0; |
| 1299 | } | 1300 | } |
| 1300 | late_initcall(omap_device_late_init); | 1301 | omap_late_initcall(omap_device_late_init); |
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 4653efb87a27..6e70707cbb34 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
| @@ -3303,7 +3303,7 @@ static int __init omap_hwmod_setup_all(void) | |||
| 3303 | 3303 | ||
| 3304 | return 0; | 3304 | return 0; |
| 3305 | } | 3305 | } |
| 3306 | core_initcall(omap_hwmod_setup_all); | 3306 | omap_core_initcall(omap_hwmod_setup_all); |
| 3307 | 3307 | ||
| 3308 | /** | 3308 | /** |
| 3309 | * omap_hwmod_enable - enable an omap_hwmod | 3309 | * omap_hwmod_enable - enable an omap_hwmod |
diff --git a/arch/arm/mach-omap2/omap_phy_internal.c b/arch/arm/mach-omap2/omap_phy_internal.c index e237602e10ea..eb8a25de67ed 100644 --- a/arch/arm/mach-omap2/omap_phy_internal.c +++ b/arch/arm/mach-omap2/omap_phy_internal.c | |||
| @@ -63,7 +63,7 @@ static int __init omap4430_phy_power_down(void) | |||
| 63 | 63 | ||
| 64 | return 0; | 64 | return 0; |
| 65 | } | 65 | } |
| 66 | early_initcall(omap4430_phy_power_down); | 66 | omap_early_initcall(omap4430_phy_power_down); |
| 67 | 67 | ||
| 68 | void am35x_musb_reset(void) | 68 | void am35x_musb_reset(void) |
| 69 | { | 69 | { |
diff --git a/arch/arm/mach-omap2/opp3xxx_data.c b/arch/arm/mach-omap2/opp3xxx_data.c index 62772e0e0d69..fc67add76444 100644 --- a/arch/arm/mach-omap2/opp3xxx_data.c +++ b/arch/arm/mach-omap2/opp3xxx_data.c | |||
| @@ -168,4 +168,4 @@ int __init omap3_opp_init(void) | |||
| 168 | 168 | ||
| 169 | return r; | 169 | return r; |
| 170 | } | 170 | } |
| 171 | device_initcall(omap3_opp_init); | 171 | omap_device_initcall(omap3_opp_init); |
diff --git a/arch/arm/mach-omap2/opp4xxx_data.c b/arch/arm/mach-omap2/opp4xxx_data.c index d470b728e720..1ef7a3e5ce4a 100644 --- a/arch/arm/mach-omap2/opp4xxx_data.c +++ b/arch/arm/mach-omap2/opp4xxx_data.c | |||
| @@ -177,4 +177,4 @@ int __init omap4_opp_init(void) | |||
| 177 | ARRAY_SIZE(omap446x_opp_def_list)); | 177 | ARRAY_SIZE(omap446x_opp_def_list)); |
| 178 | return r; | 178 | return r; |
| 179 | } | 179 | } |
| 180 | device_initcall(omap4_opp_init); | 180 | omap_device_initcall(omap4_opp_init); |
diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index e2c291f52f92..e0ac8a31d4e0 100644 --- a/arch/arm/mach-omap2/pm-debug.c +++ b/arch/arm/mach-omap2/pm-debug.c | |||
| @@ -279,6 +279,6 @@ static int __init pm_dbg_init(void) | |||
| 279 | 279 | ||
| 280 | return 0; | 280 | return 0; |
| 281 | } | 281 | } |
| 282 | arch_initcall(pm_dbg_init); | 282 | omap_arch_initcall(pm_dbg_init); |
| 283 | 283 | ||
| 284 | #endif | 284 | #endif |
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index f4b3143a8b1d..9c65eddd97cc 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
| @@ -336,7 +336,7 @@ static int __init omap2_common_pm_init(void) | |||
| 336 | 336 | ||
| 337 | return 0; | 337 | return 0; |
| 338 | } | 338 | } |
| 339 | postcore_initcall(omap2_common_pm_init); | 339 | omap_postcore_initcall(omap2_common_pm_init); |
| 340 | 340 | ||
| 341 | int __init omap2_common_pm_late_init(void) | 341 | int __init omap2_common_pm_late_init(void) |
| 342 | { | 342 | { |
diff --git a/arch/arm/mach-omap2/pmu.c b/arch/arm/mach-omap2/pmu.c index eb78ae7a3464..75052b3bc943 100644 --- a/arch/arm/mach-omap2/pmu.c +++ b/arch/arm/mach-omap2/pmu.c | |||
| @@ -89,4 +89,4 @@ static int __init omap_init_pmu(void) | |||
| 89 | 89 | ||
| 90 | return omap2_init_pmu(oh_num, oh_names); | 90 | return omap2_init_pmu(oh_num, oh_names); |
| 91 | } | 91 | } |
| 92 | subsys_initcall(omap_init_pmu); | 92 | omap_subsys_initcall(omap_init_pmu); |
diff --git a/arch/arm/mach-omap2/prm3xxx.c b/arch/arm/mach-omap2/prm3xxx.c index e648bd55b072..7721990d2006 100644 --- a/arch/arm/mach-omap2/prm3xxx.c +++ b/arch/arm/mach-omap2/prm3xxx.c | |||
| @@ -427,7 +427,7 @@ static int __init omap3xxx_prm_late_init(void) | |||
| 427 | 427 | ||
| 428 | return ret; | 428 | return ret; |
| 429 | } | 429 | } |
| 430 | subsys_initcall(omap3xxx_prm_late_init); | 430 | omap_subsys_initcall(omap3xxx_prm_late_init); |
| 431 | 431 | ||
| 432 | static void __exit omap3xxx_prm_exit(void) | 432 | static void __exit omap3xxx_prm_exit(void) |
| 433 | { | 433 | { |
diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c index c05a343d465d..d35f98aabf7a 100644 --- a/arch/arm/mach-omap2/prm44xx.c +++ b/arch/arm/mach-omap2/prm44xx.c | |||
| @@ -665,7 +665,7 @@ static int __init omap44xx_prm_late_init(void) | |||
| 665 | 665 | ||
| 666 | return omap_prcm_register_chain_handler(&omap4_prcm_irq_setup); | 666 | return omap_prcm_register_chain_handler(&omap4_prcm_irq_setup); |
| 667 | } | 667 | } |
| 668 | subsys_initcall(omap44xx_prm_late_init); | 668 | omap_subsys_initcall(omap44xx_prm_late_init); |
| 669 | 669 | ||
| 670 | static void __exit omap44xx_prm_exit(void) | 670 | static void __exit omap44xx_prm_exit(void) |
| 671 | { | 671 | { |
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 04fdbc4c499b..24e9ad3cb993 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
| @@ -254,7 +254,7 @@ static int __init omap_serial_early_init(void) | |||
| 254 | 254 | ||
| 255 | return 0; | 255 | return 0; |
| 256 | } | 256 | } |
| 257 | core_initcall(omap_serial_early_init); | 257 | omap_core_initcall(omap_serial_early_init); |
| 258 | 258 | ||
| 259 | /** | 259 | /** |
| 260 | * omap_serial_init_port() - initialize single serial port | 260 | * omap_serial_init_port() - initialize single serial port |
diff --git a/arch/arm/mach-omap2/smartreflex-class3.c b/arch/arm/mach-omap2/smartreflex-class3.c index 1da8f03c479e..80f3acb266dc 100644 --- a/arch/arm/mach-omap2/smartreflex-class3.c +++ b/arch/arm/mach-omap2/smartreflex-class3.c | |||
| @@ -58,4 +58,4 @@ static int __init sr_class3_init(void) | |||
| 58 | pr_info("SmartReflex Class3 initialized\n"); | 58 | pr_info("SmartReflex Class3 initialized\n"); |
| 59 | return sr_register_class(&class3_data); | 59 | return sr_register_class(&class3_data); |
| 60 | } | 60 | } |
| 61 | late_initcall(sr_class3_init); | 61 | omap_late_initcall(sr_class3_init); |
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 691aa674665a..5b304beeeb12 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
| @@ -742,7 +742,7 @@ static int __init omap2_dm_timer_init(void) | |||
| 742 | 742 | ||
| 743 | return 0; | 743 | return 0; |
| 744 | } | 744 | } |
| 745 | arch_initcall(omap2_dm_timer_init); | 745 | omap_arch_initcall(omap2_dm_timer_init); |
| 746 | 746 | ||
| 747 | /** | 747 | /** |
| 748 | * omap2_override_clocksource - clocksource override with user configuration | 748 | * omap2_override_clocksource - clocksource override with user configuration |
diff --git a/arch/arm/mach-omap2/wd_timer.c b/arch/arm/mach-omap2/wd_timer.c index 7c2b4ed38f02..70240a54995c 100644 --- a/arch/arm/mach-omap2/wd_timer.c +++ b/arch/arm/mach-omap2/wd_timer.c | |||
| @@ -130,4 +130,4 @@ static int __init omap_init_wdt(void) | |||
| 130 | dev_name, oh->name); | 130 | dev_name, oh->name); |
| 131 | return 0; | 131 | return 0; |
| 132 | } | 132 | } |
| 133 | subsys_initcall(omap_init_wdt); | 133 | omap_subsys_initcall(omap_init_wdt); |
