diff options
author | Bob Liu <lliubbo@gmail.com> | 2012-05-17 02:21:22 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 02:54:26 -0400 |
commit | 3a3cf0d7b8b0e32b5c1c4216520dfd59262742b9 (patch) | |
tree | 50bb12495a482a20e6ec787d07cfaf5e843a1e0b /arch/blackfin/mach-bf609 | |
parent | 93f89519fd31c21e5d606faf4091f5905db38412 (diff) |
blackfin: bf60x: fix compiling warning
Fix several compiling warning for bf60x.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf609')
-rw-r--r-- | arch/blackfin/mach-bf609/boards/ezkit.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 = { | |||
105 | #if defined(CONFIG_STMMAC_ETH) || defined(CONFIG_STMMAC_ETH_MODULE) | 105 | #if defined(CONFIG_STMMAC_ETH) || defined(CONFIG_STMMAC_ETH_MODULE) |
106 | #include <linux/stmmac.h> | 106 | #include <linux/stmmac.h> |
107 | 107 | ||
108 | static unsigned short pins[] = P_RMII0; | ||
109 | |||
108 | static struct stmmac_mdio_bus_data phy_private_data = { | 110 | static struct stmmac_mdio_bus_data phy_private_data = { |
109 | .bus_id = 0, | 111 | .bus_id = 0, |
110 | .phy_mask = 1, | 112 | .phy_mask = 1, |
@@ -1283,7 +1285,6 @@ static int __init ezkit_init(void) | |||
1283 | ARRAY_SIZE(bfin_i2c_board_info1)); | 1285 | ARRAY_SIZE(bfin_i2c_board_info1)); |
1284 | 1286 | ||
1285 | #if defined(CONFIG_STMMAC_ETH) || defined(CONFIG_STMMAC_ETH_MODULE) | 1287 | #if defined(CONFIG_STMMAC_ETH) || defined(CONFIG_STMMAC_ETH_MODULE) |
1286 | unsigned short pins[] = P_RMII0; | ||
1287 | if (!peripheral_request_list(pins, "emac0")) | 1288 | if (!peripheral_request_list(pins, "emac0")) |
1288 | printk(KERN_ERR "%s(): request emac pins failed\n", __func__); | 1289 | printk(KERN_ERR "%s(): request emac pins failed\n", __func__); |
1289 | #endif | 1290 | #endif |