ARM: i.MX: rename initcall functions
Some boards use function names locally which we introduce as global functions in the next patch. Rename them to avoid 'static declaration follows non-static declaration' errors. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
eea62cd7d7
commit
a6375f6e45
|
@ -186,7 +186,7 @@ static int imx25_3ds_fec_init(void)
|
|||
}
|
||||
late_initcall(imx25_3ds_fec_init);
|
||||
|
||||
static int imx25_devices_init(void)
|
||||
static int imx25_3ds_devices_init(void)
|
||||
{
|
||||
#ifdef CONFIG_USB
|
||||
/* USB does not work yet. Don't know why. Maybe
|
||||
|
@ -222,7 +222,7 @@ static int imx25_devices_init(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
device_initcall(imx25_devices_init);
|
||||
device_initcall(imx25_3ds_devices_init);
|
||||
|
||||
static iomux_v3_cfg_t imx25_pads[] = {
|
||||
MX25_PAD_FEC_MDC__FEC_MDC,
|
||||
|
|
|
@ -146,7 +146,7 @@ static struct smc911x_plat smsc9217_pdata = {
|
|||
.flags = SMC911X_FORCE_INTERNAL_PHY,
|
||||
};
|
||||
|
||||
static int imx31_devices_init(void)
|
||||
static int pcm037_devices_init(void)
|
||||
{
|
||||
/* CS0: Nor Flash */
|
||||
imx31_setup_weimcs(0, 0x0000cf03, 0x10000d03, 0x00720900);
|
||||
|
@ -202,7 +202,7 @@ static int imx31_devices_init(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
device_initcall(imx31_devices_init);
|
||||
device_initcall(pcm037_devices_init);
|
||||
|
||||
static unsigned int pcm037_iomux[] = {
|
||||
/* UART1 */
|
||||
|
|
|
@ -113,7 +113,7 @@ struct gpio_led led0 = {
|
|||
.gpio = 1 * 32 + 6,
|
||||
};
|
||||
|
||||
static int imx35_devices_init(void)
|
||||
static int pcm043_devices_init(void)
|
||||
{
|
||||
uint32_t reg;
|
||||
char *envstr;
|
||||
|
@ -173,7 +173,7 @@ static int imx35_devices_init(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
device_initcall(imx35_devices_init);
|
||||
device_initcall(pcm043_devices_init);
|
||||
|
||||
static iomux_v3_cfg_t pcm043_pads[] = {
|
||||
MX35_PAD_FEC_TX_CLK__FEC_TX_CLK,
|
||||
|
|
Loading…
Reference in New Issue