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/mach-davinci/davinci.h | |
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/mach-davinci/davinci.h')
-rw-r--r-- | arch/arm/mach-davinci/davinci.h | 28 |
1 files changed, 14 insertions, 14 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 *); |