summaryrefslogtreecommitdiff
blob: 9a7c019e9e284e7ef575193dade3dd5bd9557252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urp ipw2100-1.0.1/ipw2100.c ipw2100-1.0.1-2.6.10-susp/ipw2100.c
--- ipw2100-1.0.1/ipw2100.c	2004-11-19 16:36:28.000000000 +0100
+++ ipw2100-1.0.1-2.6.10-susp/ipw2100.c	2005-01-02 16:08:33.344087008 +0100
@@ -6709,6 +6709,8 @@ static int ipw2100_suspend(struct pci_de
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
 	pci_save_state(pci_dev, priv->pm_state);
+#else
+	pci_save_state(pci_dev);
 #endif
 	pci_set_power_state(pci_dev, state);