From 3a3cf0d7b8b0e32b5c1c4216520dfd59262742b9 Mon Sep 17 00:00:00 2001 From: Bob Liu Date: Thu, 17 May 2012 14:21:22 +0800 Subject: blackfin: bf60x: fix compiling warning Fix several compiling warning for bf60x. Signed-off-by: Bob Liu --- arch/blackfin/mach-bf609/boards/ezkit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/blackfin/mach-bf609') diff --git a/arch/blackfin/mach-bf609/boards/ezkit.c b/arch/blackfin/mach-bf609/boards/ezkit.c index 0c96754b4d39..1222cfb90d18 100644 --- a/arch/blackfin/mach-bf609/boards/ezkit.c +++ b/arch/blackfin/mach-bf609/boards/ezkit.c @@ -105,6 +105,8 @@ static struct platform_device bfin_rotary_device = { #if defined(CONFIG_STMMAC_ETH) || defined(CONFIG_STMMAC_ETH_MODULE) #include +static unsigned short pins[] = P_RMII0; + static struct stmmac_mdio_bus_data phy_private_data = { .bus_id = 0, .phy_mask = 1, @@ -1283,7 +1285,6 @@ static int __init ezkit_init(void) ARRAY_SIZE(bfin_i2c_board_info1)); #if defined(CONFIG_STMMAC_ETH) || defined(CONFIG_STMMAC_ETH_MODULE) - unsigned short pins[] = P_RMII0; if (!peripheral_request_list(pins, "emac0")) printk(KERN_ERR "%s(): request emac pins failed\n", __func__); #endif -- cgit v1.2.1