]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] S3C: Rename s3c2410_pm_init to s3c_pm_init.
authorBen Dooks <ben-linux@fluff.org>
Fri, 12 Dec 2008 00:24:18 +0000 (00:24 +0000)
committerBen Dooks <ben-linux@fluff.org>
Sun, 8 Mar 2009 12:35:47 +0000 (12:35 +0000)
Since we have moved a large proportion of the PM code to the common
support area, remove the cpu specific name from the initialisation
function.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Documentation/arm/Samsung-S3C24XX/Suspend.txt
arch/arm/mach-s3c2410/mach-h1940.c
arch/arm/mach-s3c2410/mach-qt2410.c
arch/arm/mach-s3c2412/mach-jive.c
arch/arm/mach-s3c2440/mach-rx3715.c
arch/arm/plat-s3c/include/plat/pm.h
arch/arm/plat-s3c/pm.c
arch/arm/plat-s3c24xx/common-smdk.c
arch/arm/plat-s3c24xx/pm-simtec.c

index 0dab6e32c130a2fc61192fd99cf95a963648beea..a30fe510572b944274af3bf99b9c7e6b4e5a78e0 100644 (file)
@@ -40,13 +40,13 @@ Resuming
 Machine Support
 ---------------
 
-  The machine specific functions must call the s3c2410_pm_init() function
+  The machine specific functions must call the s3c_pm_init() function
   to say that its bootloader is capable of resuming. This can be as
   simple as adding the following to the machine's definition:
 
-  INITMACHINE(s3c2410_pm_init)
+  INITMACHINE(s3c_pm_init)
 
-  A board can do its own setup before calling s3c2410_pm_init, if it
+  A board can do its own setup before calling s3c_pm_init, if it
   needs to setup anything else for power management support.
 
   There is currently no support for over-riding the default method of
@@ -74,7 +74,7 @@ statuc void __init machine_init(void)
 
        enable_irq_wake(IRQ_EINT0);
 
-       s3c2410_pm_init();
+       s3c_pm_init();
 }
 
 
index 821a1668c3acccd6a1bee3abafe79a82008960a4..7a7c4da4c25660f29f5be02c88b86ff7e7241216 100644 (file)
@@ -203,7 +203,7 @@ static void __init h1940_map_io(void)
 #ifdef CONFIG_PM_H1940
        memcpy(phys_to_virt(H1940_SUSPEND_RESUMEAT), h1940_pm_return, 1024);
 #endif
-       s3c2410_pm_init();
+       s3c_pm_init();
 }
 
 static void __init h1940_init_irq(void)
index 9678a53ceeb13589da76d6328fa1003dd00fd305..9f1ba9b63f702eefaa32ab7ebd321be1709af8b4 100644 (file)
@@ -355,7 +355,7 @@ static void __init qt2410_machine_init(void)
        s3c2410_gpio_cfgpin(S3C2410_GPB5, S3C2410_GPIO_OUTPUT);
 
        platform_add_devices(qt2410_devices, ARRAY_SIZE(qt2410_devices));
-       s3c2410_pm_init();
+       s3c_pm_init();
 }
 
 MACHINE_START(QT2410, "QT2410")
index ecddbbb34832b01d8b0cb3612b0f23bb65085e92..50d8054292c2a575eafe4e5347b83a3dda75bb89 100644 (file)
@@ -630,7 +630,7 @@ static void __init jive_machine_init(void)
 
        /* initialise the power management now we've setup everything. */
 
-       s3c2410_pm_init();
+       s3c_pm_init();
 
        s3c_device_nand.dev.platform_data = &jive_nand_info;
 
index 12d378f84ad2d717cd8cab0cccceef548e0fbe4a..bc8d8d1ebd1a69ddc29827caa1f662e68d17f3b9 100644 (file)
@@ -203,7 +203,7 @@ static void __init rx3715_init_machine(void)
 #ifdef CONFIG_PM_H1940
        memcpy(phys_to_virt(H1940_SUSPEND_RESUMEAT), h1940_pm_return, 1024);
 #endif
-       s3c2410_pm_init();
+       s3c_pm_init();
 
        s3c24xx_fb_set_platdata(&rx3715_fb_info);
        platform_add_devices(rx3715_devices, ARRAY_SIZE(rx3715_devices));
index 5e27de955da0d6927ff8e1277e117cd3097f78fc..a6104c8055fffdd05ddfa7191810b430ab778b19 100644 (file)
@@ -9,7 +9,7 @@
  * published by the Free Software Foundation.
 */
 
-/* s3c2410_pm_init
+/* s3c_pm_init
  *
  * called from board at initialisation time to setup the power
  * management
 
 #ifdef CONFIG_PM
 
-extern __init int s3c2410_pm_init(void);
+extern __init int s3c_pm_init(void);
 
 #else
 
-static inline int s3c2410_pm_init(void)
+static inline int s3c_pm_init(void)
 {
        return 0;
 }
index 7c736deff8ae261ce61e755d1c2bfa5a521cce7f..e82ec628ced10371a3206ee487da7f5f91369393 100644 (file)
@@ -316,14 +316,14 @@ static struct platform_suspend_ops s3c_pm_ops = {
        .valid          = suspend_valid_only_mem,
 };
 
-/* s3c2410_pm_init
+/* s3c_pm_init
  *
  * Attach the power management functions. This should be called
  * from the board specific initialisation if the board supports
  * it.
 */
 
-int __init s3c2410_pm_init(void)
+int __init s3c_pm_init(void)
 {
        printk("S3C Power Management, Copyright 2004 Simtec Electronics\n");
 
index 3d4837021ac71ee85046b8dca99f08a3e042be64..1a8347cec20a3da803ecaf5c7f8dba269a2270ee 100644 (file)
@@ -201,5 +201,5 @@ void __init smdk_machine_init(void)
 
        platform_add_devices(smdk_devs, ARRAY_SIZE(smdk_devs));
 
-       s3c2410_pm_init();
+       s3c_pm_init();
 }
index 21dfa74773d17ec0d61109fbd47ce1a4477f9211..da0d3217d3e3f3338fc22b1b43d1700c682023b4 100644 (file)
@@ -61,7 +61,7 @@ static __init int pm_simtec_init(void)
 
        __raw_writel(gstatus4, S3C2410_GSTATUS4);
 
-       return s3c2410_pm_init();
+       return s3c_pm_init();
 }
 
 arch_initcall(pm_simtec_init);