Prototypes with extern should rely only on header files so there's only
one copy of each.
It also helps when changing that function's prototype to get mis-uses of
that function.
Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
return 0;
}
-extern void __init sdp2430_flash_init(void);
-extern void __init sdp2430_usb_init(void);
-
static void __init omap_2430sdp_init(void)
{
platform_add_devices(sdp2430_devices, ARRAY_SIZE(sdp2430_devices));
#endif
};
-extern void __init n800_mmc_init(void);
-
void __init nokia_n800_common_init(void)
{
platform_add_devices(n800_devices, ARRAY_SIZE(n800_devices));
return gpmc_cs_set_timings(sync_cs, &t);
}
-extern unsigned long gpmc_get_fclk_period(void);
-
/* tusb driver calls this when it changes the chip's clocking */
int tusb6010_platform_retime(unsigned is_refclk)
{
#define IH_TWL4030_GPIO_END (IH_TWL4030_BASE+18)
#define NR_IRQS (IH_TWL4030_GPIO_END)
+/* Function prototypes */
+extern void __init sdp2430_flash_init(void);
+extern void __init sdp2430_usb_init(void);
+
#endif /* __ASM_ARCH_OMAP_2430SDP_H */