Commit 280a2634 authored by Linus Torvalds's avatar Linus Torvalds

Avoid pci driver warnings on 64-bit hosts

parent 84ce4e85
...@@ -1585,10 +1585,10 @@ pci_pm_callback(struct pm_dev *pm_device, pm_request_t rqst, void *data) ...@@ -1585,10 +1585,10 @@ pci_pm_callback(struct pm_dev *pm_device, pm_request_t rqst, void *data)
switch (rqst) { switch (rqst) {
case PM_SAVE_STATE: case PM_SAVE_STATE:
error = pci_pm_save_state((u32)data); error = pci_pm_save_state((unsigned long)data);
break; break;
case PM_SUSPEND: case PM_SUSPEND:
error = pci_pm_suspend((u32)data); error = pci_pm_suspend((unsigned long)data);
break; break;
case PM_RESUME: case PM_RESUME:
error = pci_pm_resume(); error = pci_pm_resume();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment