davinci: Change DA8xx/OMAP-L13x McASP registration routine name
authorMark A. Greer <mgreer@mvista.com>
Fri, 28 Aug 2009 22:05:02 +0000 (15:05 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 25 Nov 2009 18:21:18 +0000 (10:21 -0800)
For consistency with existing code, change the name of
da8xx_init_mcasp() to da8xx_register_mcasp().

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/board-da830-evm.c
arch/arm/mach-davinci/board-da850-evm.c
arch/arm/mach-davinci/devices-da8xx.c
arch/arm/mach-davinci/include/mach/da8xx.h

index bfbb63936f335d52a29cae5a88f157007402726f..22d9fe4d8eb3ea658670a0ac1bf2ffcfbdd1ff87 100644 (file)
@@ -122,7 +122,7 @@ static __init void da830_evm_init(void)
                pr_warning("da830_evm_init: mcasp1 mux setup failed: %d\n",
                                ret);
 
-       da8xx_init_mcasp(1, &da830_evm_snd_data);
+       da8xx_register_mcasp(1, &da830_evm_snd_data);
 }
 
 #ifdef CONFIG_SERIAL_8250_CONSOLE
index c759d72494e035c795b403944b0ccaedf5b0d642..fbc7aae4b6a4be6bf96de62f80fc4205127b57f7 100644 (file)
@@ -365,7 +365,7 @@ static __init void da850_evm_init(void)
                pr_warning("da850_evm_init: mcasp mux setup failed: %d\n",
                                ret);
 
-       da8xx_init_mcasp(0, &da850_evm_snd_data);
+       da8xx_register_mcasp(0, &da850_evm_snd_data);
 
        ret = da8xx_pinmux_setup(da850_lcdcntl_pins);
        if (ret)
index 94ce7a15c72834703c3f9908e5b15ba330d803d9..a54aa4edc1b01c72ba7ba25450d5485ab4972b20 100644 (file)
@@ -343,7 +343,7 @@ static struct platform_device da850_mcasp_device = {
        .resource       = da850_mcasp_resources,
 };
 
-void __init da8xx_init_mcasp(int id, struct snd_platform_data *pdata)
+void __init da8xx_register_mcasp(int id, struct snd_platform_data *pdata)
 {
        /* DA830/OMAP-L137 has 3 instances of McASP */
        if (cpu_is_davinci_da830() && id == 1) {
index d4095d0572c6f07318a6ac12415faed53fa62037..7576e8cb6d3b9bb6416014d208a4d3130dafa503 100644 (file)
@@ -74,7 +74,7 @@ int da8xx_register_watchdog(void);
 int da8xx_register_emac(void);
 int da8xx_register_lcdc(void);
 int da8xx_register_mmcsd0(struct davinci_mmc_config *config);
-void __init da8xx_init_mcasp(int id, struct snd_platform_data *pdata);
+void __init da8xx_register_mcasp(int id, struct snd_platform_data *pdata);
 
 extern struct platform_device da8xx_serial_device;
 extern struct emac_platform_data da8xx_emac_pdata;