Silence sparse by using a defined value PCI_D3hot instead of a magic
constant in a pci_set_power_state() call.
Signed-off-by: Jouni Malinen <[email protected]>
---
drivers/net/wireless/ath9k/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- wireless-testing.orig/drivers/net/wireless/ath9k/main.c 2009-01-13 14:10:23.000000000 +0200
+++ wireless-testing/drivers/net/wireless/ath9k/main.c 2009-01-13 14:11:00.000000000 +0200
@@ -2692,7 +2692,7 @@ static int ath_pci_suspend(struct pci_de
pci_save_state(pdev);
pci_disable_device(pdev);
- pci_set_power_state(pdev, 3);
+ pci_set_power_state(pdev, PCI_D3hot);
return 0;
}
--
Jouni Malinen PGP id EFC895FA