summaryrefslogtreecommitdiff
path: root/drivers/net/atl1c
diff options
context:
space:
mode:
authorjie.yang@atheros.com <jie.yang@atheros.com>2009-09-20 19:01:58 +0000
committerDavid S. Miller <davem@davemloft.net>2009-09-22 14:00:10 -0700
commit55865c66d24b8f1a885a1a03836d219286d41818 (patch)
tree4ecc577e9b0a3e9a145c52b53b34a44e88557bd5 /drivers/net/atl1c
parent5ee2124524aa65cc48fcf0b498d4ef036d2c9ee5 (diff)
atl1c:remove compiling warning
Set wol_ctrl_data to value 0, to remove compiling warning. Signed-off-by: Jie Yang <jie.yang@atheros.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atl1c')
-rw-r--r--drivers/net/atl1c/atl1c_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c
index be2c6cfe6e84..1372e9a99f5b 100644
--- a/drivers/net/atl1c/atl1c_main.c
+++ b/drivers/net/atl1c/atl1c_main.c
@@ -2296,7 +2296,7 @@ static int atl1c_suspend(struct pci_dev *pdev, pm_message_t state)
u32 ctrl;
u32 mac_ctrl_data;
u32 master_ctrl_data;
- u32 wol_ctrl_data;
+ u32 wol_ctrl_data = 0;
u16 mii_bmsr_data;
u16 save_autoneg_advertised;
u16 mii_intr_status_data;