projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ee2124
)
atl1c:remove compiling warning
author
jie.yang@atheros.com
<jie.yang@atheros.com>
Sun, 20 Sep 2009 19:01:58 +0000
(19:01 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 22 Sep 2009 21:00:10 +0000
(14:00 -0700)
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>
drivers/net/atl1c/atl1c_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/atl1c/atl1c_main.c
b/drivers/net/atl1c/atl1c_main.c
index be2c6cfe6e84cc55e7a71b2c63adad1057dc2a4b..1372e9a99f5b29eb8e92aefc39404234977ceae0 100644
(file)
--- 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;