diff options
author | Pavel Machek <pavel@ucw.cz> | 2005-04-16 18:25:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:25:25 -0400 |
commit | 05adc3b7458e97a1d0180828000207a403083389 (patch) | |
tree | b7ec16681719bfd3caac350a750b50ed5a4abf50 /drivers/net/wireless | |
parent | 4fd416c14c583ee6ff1e2b17ab05e7e02e170e4c (diff) |
[PATCH] u32 vs. pm_message_t fixes for drivers/net
This fixes remaining u32s in drivers/ net.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/airo.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/airport.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco_pci.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/prism54/islpci_hotplug.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index 2899144f2153..463c789cdc77 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -61,7 +61,7 @@ MODULE_DEVICE_TABLE(pci, card_ids); | |||
61 | 61 | ||
62 | static int airo_pci_probe(struct pci_dev *, const struct pci_device_id *); | 62 | static int airo_pci_probe(struct pci_dev *, const struct pci_device_id *); |
63 | static void airo_pci_remove(struct pci_dev *); | 63 | static void airo_pci_remove(struct pci_dev *); |
64 | static int airo_pci_suspend(struct pci_dev *pdev, u32 state); | 64 | static int airo_pci_suspend(struct pci_dev *pdev, pm_message_t state); |
65 | static int airo_pci_resume(struct pci_dev *pdev); | 65 | static int airo_pci_resume(struct pci_dev *pdev); |
66 | 66 | ||
67 | static struct pci_driver airo_driver = { | 67 | static struct pci_driver airo_driver = { |
@@ -5464,7 +5464,7 @@ static void __devexit airo_pci_remove(struct pci_dev *pdev) | |||
5464 | { | 5464 | { |
5465 | } | 5465 | } |
5466 | 5466 | ||
5467 | static int airo_pci_suspend(struct pci_dev *pdev, u32 state) | 5467 | static int airo_pci_suspend(struct pci_dev *pdev, pm_message_t state) |
5468 | { | 5468 | { |
5469 | struct net_device *dev = pci_get_drvdata(pdev); | 5469 | struct net_device *dev = pci_get_drvdata(pdev); |
5470 | struct airo_info *ai = dev->priv; | 5470 | struct airo_info *ai = dev->priv; |
diff --git a/drivers/net/wireless/airport.c b/drivers/net/wireless/airport.c index a1dc2a196087..b4f4bd7956a2 100644 --- a/drivers/net/wireless/airport.c +++ b/drivers/net/wireless/airport.c | |||
@@ -50,7 +50,7 @@ struct airport { | |||
50 | }; | 50 | }; |
51 | 51 | ||
52 | static int | 52 | static int |
53 | airport_suspend(struct macio_dev *mdev, u32 state) | 53 | airport_suspend(struct macio_dev *mdev, pm_message_t state) |
54 | { | 54 | { |
55 | struct net_device *dev = dev_get_drvdata(&mdev->ofdev.dev); | 55 | struct net_device *dev = dev_get_drvdata(&mdev->ofdev.dev); |
56 | struct orinoco_private *priv = netdev_priv(dev); | 56 | struct orinoco_private *priv = netdev_priv(dev); |
diff --git a/drivers/net/wireless/orinoco_pci.c b/drivers/net/wireless/orinoco_pci.c index ff30d37e12e2..7a6f52ea7faa 100644 --- a/drivers/net/wireless/orinoco_pci.c +++ b/drivers/net/wireless/orinoco_pci.c | |||
@@ -294,7 +294,7 @@ static void __devexit orinoco_pci_remove_one(struct pci_dev *pdev) | |||
294 | pci_disable_device(pdev); | 294 | pci_disable_device(pdev); |
295 | } | 295 | } |
296 | 296 | ||
297 | static int orinoco_pci_suspend(struct pci_dev *pdev, u32 state) | 297 | static int orinoco_pci_suspend(struct pci_dev *pdev, pm_message_t state) |
298 | { | 298 | { |
299 | struct net_device *dev = pci_get_drvdata(pdev); | 299 | struct net_device *dev = pci_get_drvdata(pdev); |
300 | struct orinoco_private *priv = netdev_priv(dev); | 300 | struct orinoco_private *priv = netdev_priv(dev); |
@@ -323,7 +323,7 @@ static int orinoco_pci_suspend(struct pci_dev *pdev, u32 state) | |||
323 | orinoco_unlock(priv, &flags); | 323 | orinoco_unlock(priv, &flags); |
324 | 324 | ||
325 | pci_save_state(pdev); | 325 | pci_save_state(pdev); |
326 | pci_set_power_state(pdev, 3); | 326 | pci_set_power_state(pdev, PCI_D3hot); |
327 | 327 | ||
328 | return 0; | 328 | return 0; |
329 | } | 329 | } |
diff --git a/drivers/net/wireless/prism54/islpci_hotplug.c b/drivers/net/wireless/prism54/islpci_hotplug.c index efd4d213ac3d..c17391d947f3 100644 --- a/drivers/net/wireless/prism54/islpci_hotplug.c +++ b/drivers/net/wireless/prism54/islpci_hotplug.c | |||
@@ -81,7 +81,7 @@ MODULE_DEVICE_TABLE(pci, prism54_id_tbl); | |||
81 | 81 | ||
82 | static int prism54_probe(struct pci_dev *, const struct pci_device_id *); | 82 | static int prism54_probe(struct pci_dev *, const struct pci_device_id *); |
83 | static void prism54_remove(struct pci_dev *); | 83 | static void prism54_remove(struct pci_dev *); |
84 | static int prism54_suspend(struct pci_dev *, u32 state); | 84 | static int prism54_suspend(struct pci_dev *, pm_message_t state); |
85 | static int prism54_resume(struct pci_dev *); | 85 | static int prism54_resume(struct pci_dev *); |
86 | 86 | ||
87 | static struct pci_driver prism54_driver = { | 87 | static struct pci_driver prism54_driver = { |
@@ -261,7 +261,7 @@ prism54_remove(struct pci_dev *pdev) | |||
261 | } | 261 | } |
262 | 262 | ||
263 | int | 263 | int |
264 | prism54_suspend(struct pci_dev *pdev, u32 state) | 264 | prism54_suspend(struct pci_dev *pdev, pm_message_t state) |
265 | { | 265 | { |
266 | struct net_device *ndev = pci_get_drvdata(pdev); | 266 | struct net_device *ndev = pci_get_drvdata(pdev); |
267 | islpci_private *priv = ndev ? netdev_priv(ndev) : NULL; | 267 | islpci_private *priv = ndev ? netdev_priv(ndev) : NULL; |