summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/pcm043/pcm043.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-06-23 23:25:13 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-06-24 08:34:26 +0200
commita6375f6e454e117ef8c8d323a21613afab035c06 (patch)
treef4f2e152f2b86abe50a5c1d9066c75c253b8d3d4 /arch/arm/boards/pcm043/pcm043.c
parenteea62cd7d7ee89211e6b6842530559ba343a9b74 (diff)
downloadbarebox-a6375f6e454e117ef8c8d323a21613afab035c06.tar.gz
barebox-a6375f6e454e117ef8c8d323a21613afab035c06.tar.xz
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>
Diffstat (limited to 'arch/arm/boards/pcm043/pcm043.c')
-rw-r--r--arch/arm/boards/pcm043/pcm043.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boards/pcm043/pcm043.c b/arch/arm/boards/pcm043/pcm043.c
index b2726dffc8..68b7864aa1 100644
--- a/arch/arm/boards/pcm043/pcm043.c
+++ b/arch/arm/boards/pcm043/pcm043.c
@@ -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,