diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-06-27 14:53:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-29 07:11:48 +0200 |
commit | 1ca01512a2a95aa061c3fc24b7c5d7fad9f606bf (patch) | |
tree | 14750c0d7f55b822ff715f6aa040cad9c65ca74e /drivers/net/ethernet/ti/tlan.c | |
parent | nlmon: fix comparison in nlmon_is_valid_mtu (diff) | |
download | linux-1ca01512a2a95aa061c3fc24b7c5d7fad9f606bf.tar.xz linux-1ca01512a2a95aa061c3fc24b7c5d7fad9f606bf.zip |
net/trivial: replace numeric with standard PM state macros
Use standard PM state macros PCI_Dx instead of numeric 0/1/2..
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/tlan.c')
-rw-r--r-- | drivers/net/ethernet/ti/tlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/tlan.c b/drivers/net/ethernet/ti/tlan.c index 59abfbcd0d55..591437e59b90 100644 --- a/drivers/net/ethernet/ti/tlan.c +++ b/drivers/net/ethernet/ti/tlan.c @@ -372,7 +372,7 @@ static int tlan_resume(struct pci_dev *pdev) pci_set_power_state(pdev, PCI_D0); pci_restore_state(pdev); - pci_enable_wake(pdev, 0, 0); + pci_enable_wake(pdev, PCI_D0, 0); netif_device_attach(dev); if (netif_running(dev)) |