summaryrefslogtreecommitdiff
path: root/drivers/staging/gma500/power.h
diff options
context:
space:
mode:
authorOctavian Purdila <octavian.purdila@intel.com>2011-07-15 17:33:26 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-15 19:05:07 +0200
commita458ca1edc318bc63a632b97ab3d04b86b81f7ef (patch)
treef116f5a84d79c915b4b019b7e276153da570a35a /drivers/staging/gma500/power.h
parent7d7b7adf6bf934064c8fdc4031e75f1a20aaac92 (diff)
gma500: remove the legacy PM method
PCI core only prefer one of legacy PM and new PM. And since runtime pm is implemented, which requires the new PM method, we should remove the legacy PM method. Signed-off-by: Octavian Purdila <octavian.purdila@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/gma500/power.h')
-rw-r--r--drivers/staging/gma500/power.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/gma500/power.h b/drivers/staging/gma500/power.h
index 333b28dbfdb..1969d2ecb32 100644
--- a/drivers/staging/gma500/power.h
+++ b/drivers/staging/gma500/power.h
@@ -39,8 +39,8 @@ void gma_power_uninit(struct drm_device *dev);
/*
* The kernel bus power management will call these functions
*/
-int gma_power_suspend(struct pci_dev *pdev, pm_message_t state);
-int gma_power_resume(struct pci_dev *pdev);
+int gma_power_suspend(struct device *dev);
+int gma_power_resume(struct device *dev);
/*
* These are the functions the driver should use to wrap all hw access