diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2013-04-01 07:33:36 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2013-06-14 01:23:35 -0400 |
commit | b464e3cb294518c8705425335338957bc291d019 (patch) | |
tree | dd2fa5f574235db74d1f2945fb9e7cc64ad37bb0 /arch/arm | |
parent | d683b96b072dc4680fc74964eca77e6a23d1fa6e (diff) |
ARM: davinci: remove __init atrribute from function declaration
__init attribute does not make sense on function declarations.
Get rid of them in mach-davinci.
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Cc: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-davinci/davinci.h | 28 | ||||
-rw-r--r-- | arch/arm/mach-davinci/include/mach/cp_intc.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-davinci/include/mach/da8xx.h | 16 | ||||
-rw-r--r-- | arch/arm/mach-davinci/include/mach/tnetv107x.h | 6 |
4 files changed, 27 insertions, 27 deletions
diff --git a/arch/arm/mach-davinci/davinci.h b/arch/arm/mach-davinci/davinci.h index 1ab3df423dac..b4b7451a8434 100644 --- a/arch/arm/mach-davinci/davinci.h +++ b/arch/arm/mach-davinci/davinci.h | |||
@@ -77,32 +77,32 @@ void davinci_map_sysmod(void); | |||
77 | #define DM646X_ASYNC_EMIF_CS2_SPACE_BASE 0x42000000 | 77 | #define DM646X_ASYNC_EMIF_CS2_SPACE_BASE 0x42000000 |
78 | 78 | ||
79 | /* DM355 function declarations */ | 79 | /* DM355 function declarations */ |
80 | void __init dm355_init(void); | 80 | void dm355_init(void); |
81 | void dm355_init_spi0(unsigned chipselect_mask, | 81 | void dm355_init_spi0(unsigned chipselect_mask, |
82 | const struct spi_board_info *info, unsigned len); | 82 | const struct spi_board_info *info, unsigned len); |
83 | void __init dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata); | 83 | void dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata); |
84 | int dm355_init_video(struct vpfe_config *, struct vpbe_config *); | 84 | int dm355_init_video(struct vpfe_config *, struct vpbe_config *); |
85 | 85 | ||
86 | /* DM365 function declarations */ | 86 | /* DM365 function declarations */ |
87 | void __init dm365_init(void); | 87 | void dm365_init(void); |
88 | void __init dm365_init_asp(struct snd_platform_data *pdata); | 88 | void dm365_init_asp(struct snd_platform_data *pdata); |
89 | void __init dm365_init_vc(struct snd_platform_data *pdata); | 89 | void dm365_init_vc(struct snd_platform_data *pdata); |
90 | void __init dm365_init_ks(struct davinci_ks_platform_data *pdata); | 90 | void dm365_init_ks(struct davinci_ks_platform_data *pdata); |
91 | void __init dm365_init_rtc(void); | 91 | void dm365_init_rtc(void); |
92 | void dm365_init_spi0(unsigned chipselect_mask, | 92 | void dm365_init_spi0(unsigned chipselect_mask, |
93 | const struct spi_board_info *info, unsigned len); | 93 | const struct spi_board_info *info, unsigned len); |
94 | int dm365_init_video(struct vpfe_config *, struct vpbe_config *); | 94 | int dm365_init_video(struct vpfe_config *, struct vpbe_config *); |
95 | 95 | ||
96 | /* DM644x function declarations */ | 96 | /* DM644x function declarations */ |
97 | void __init dm644x_init(void); | 97 | void dm644x_init(void); |
98 | void __init dm644x_init_asp(struct snd_platform_data *pdata); | 98 | void dm644x_init_asp(struct snd_platform_data *pdata); |
99 | int __init dm644x_init_video(struct vpfe_config *, struct vpbe_config *); | 99 | int dm644x_init_video(struct vpfe_config *, struct vpbe_config *); |
100 | 100 | ||
101 | /* DM646x function declarations */ | 101 | /* DM646x function declarations */ |
102 | void __init dm646x_init(void); | 102 | void dm646x_init(void); |
103 | void __init dm646x_init_mcasp0(struct snd_platform_data *pdata); | 103 | void dm646x_init_mcasp0(struct snd_platform_data *pdata); |
104 | void __init dm646x_init_mcasp1(struct snd_platform_data *pdata); | 104 | void dm646x_init_mcasp1(struct snd_platform_data *pdata); |
105 | int __init dm646x_init_edma(struct edma_rsv_info *rsv); | 105 | int dm646x_init_edma(struct edma_rsv_info *rsv); |
106 | void dm646x_video_init(void); | 106 | void dm646x_video_init(void); |
107 | void dm646x_setup_vpif(struct vpif_display_config *, | 107 | void dm646x_setup_vpif(struct vpif_display_config *, |
108 | struct vpif_capture_config *); | 108 | struct vpif_capture_config *); |
diff --git a/arch/arm/mach-davinci/include/mach/cp_intc.h b/arch/arm/mach-davinci/include/mach/cp_intc.h index d13d8dfa2b0d..827bbe9baed4 100644 --- a/arch/arm/mach-davinci/include/mach/cp_intc.h +++ b/arch/arm/mach-davinci/include/mach/cp_intc.h | |||
@@ -51,7 +51,7 @@ | |||
51 | #define CP_INTC_HOST_PRIO_VECTOR(n) (0x1600 + (n << 2)) | 51 | #define CP_INTC_HOST_PRIO_VECTOR(n) (0x1600 + (n << 2)) |
52 | #define CP_INTC_VECTOR_ADDR(n) (0x2000 + (n << 2)) | 52 | #define CP_INTC_VECTOR_ADDR(n) (0x2000 + (n << 2)) |
53 | 53 | ||
54 | void __init cp_intc_init(void); | 54 | void cp_intc_init(void); |
55 | int __init cp_intc_of_init(struct device_node *, struct device_node *); | 55 | int cp_intc_of_init(struct device_node *, struct device_node *); |
56 | 56 | ||
57 | #endif /* __ASM_HARDWARE_CP_INTC_H */ | 57 | #endif /* __ASM_HARDWARE_CP_INTC_H */ |
diff --git a/arch/arm/mach-davinci/include/mach/da8xx.h b/arch/arm/mach-davinci/include/mach/da8xx.h index 2e1c9eae0a58..faec783b0dc8 100644 --- a/arch/arm/mach-davinci/include/mach/da8xx.h +++ b/arch/arm/mach-davinci/include/mach/da8xx.h | |||
@@ -79,8 +79,8 @@ extern unsigned int da850_max_speed; | |||
79 | #define DA8XX_SHARED_RAM_BASE 0x80000000 | 79 | #define DA8XX_SHARED_RAM_BASE 0x80000000 |
80 | #define DA8XX_ARM_RAM_BASE 0xffff0000 | 80 | #define DA8XX_ARM_RAM_BASE 0xffff0000 |
81 | 81 | ||
82 | void __init da830_init(void); | 82 | void da830_init(void); |
83 | void __init da850_init(void); | 83 | void da850_init(void); |
84 | 84 | ||
85 | int da830_register_edma(struct edma_rsv_info *rsv); | 85 | int da830_register_edma(struct edma_rsv_info *rsv); |
86 | int da850_register_edma(struct edma_rsv_info *rsv[2]); | 86 | int da850_register_edma(struct edma_rsv_info *rsv[2]); |
@@ -94,17 +94,17 @@ int da8xx_register_uio_pruss(void); | |||
94 | int da8xx_register_lcdc(struct da8xx_lcdc_platform_data *pdata); | 94 | int da8xx_register_lcdc(struct da8xx_lcdc_platform_data *pdata); |
95 | int da8xx_register_mmcsd0(struct davinci_mmc_config *config); | 95 | int da8xx_register_mmcsd0(struct davinci_mmc_config *config); |
96 | int da850_register_mmcsd1(struct davinci_mmc_config *config); | 96 | int da850_register_mmcsd1(struct davinci_mmc_config *config); |
97 | void __init da8xx_register_mcasp(int id, struct snd_platform_data *pdata); | 97 | void da8xx_register_mcasp(int id, struct snd_platform_data *pdata); |
98 | int da8xx_register_rtc(void); | 98 | int da8xx_register_rtc(void); |
99 | int da850_register_cpufreq(char *async_clk); | 99 | int da850_register_cpufreq(char *async_clk); |
100 | int da8xx_register_cpuidle(void); | 100 | int da8xx_register_cpuidle(void); |
101 | void __iomem * __init da8xx_get_mem_ctlr(void); | 101 | void __iomem *da8xx_get_mem_ctlr(void); |
102 | int da850_register_pm(struct platform_device *pdev); | 102 | int da850_register_pm(struct platform_device *pdev); |
103 | int __init da850_register_sata(unsigned long refclkpn); | 103 | int da850_register_sata(unsigned long refclkpn); |
104 | int __init da850_register_vpif(void); | 104 | int da850_register_vpif(void); |
105 | int __init da850_register_vpif_display | 105 | int da850_register_vpif_display |
106 | (struct vpif_display_config *display_config); | 106 | (struct vpif_display_config *display_config); |
107 | int __init da850_register_vpif_capture | 107 | int da850_register_vpif_capture |
108 | (struct vpif_capture_config *capture_config); | 108 | (struct vpif_capture_config *capture_config); |
109 | void da8xx_restart(char mode, const char *cmd); | 109 | void da8xx_restart(char mode, const char *cmd); |
110 | void da8xx_rproc_reserve_cma(void); | 110 | void da8xx_rproc_reserve_cma(void); |
diff --git a/arch/arm/mach-davinci/include/mach/tnetv107x.h b/arch/arm/mach-davinci/include/mach/tnetv107x.h index 1656a02e3eda..366e975effa8 100644 --- a/arch/arm/mach-davinci/include/mach/tnetv107x.h +++ b/arch/arm/mach-davinci/include/mach/tnetv107x.h | |||
@@ -51,9 +51,9 @@ struct tnetv107x_device_info { | |||
51 | extern struct platform_device tnetv107x_wdt_device; | 51 | extern struct platform_device tnetv107x_wdt_device; |
52 | extern struct platform_device tnetv107x_serial_device; | 52 | extern struct platform_device tnetv107x_serial_device; |
53 | 53 | ||
54 | extern void __init tnetv107x_init(void); | 54 | extern void tnetv107x_init(void); |
55 | extern void __init tnetv107x_devices_init(struct tnetv107x_device_info *); | 55 | extern void tnetv107x_devices_init(struct tnetv107x_device_info *); |
56 | extern void __init tnetv107x_irq_init(void); | 56 | extern void tnetv107x_irq_init(void); |
57 | void tnetv107x_restart(char mode, const char *cmd); | 57 | void tnetv107x_restart(char mode, const char *cmd); |
58 | 58 | ||
59 | #endif | 59 | #endif |