summaryrefslogtreecommitdiff
path: root/arch/ppc/syslib/of_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/syslib/of_device.c')
-rw-r--r--arch/ppc/syslib/of_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/syslib/of_device.c b/arch/ppc/syslib/of_device.c
index 1eb4f72..da8a0f2 100644
--- a/arch/ppc/syslib/of_device.c
+++ b/arch/ppc/syslib/of_device.c
@@ -105,7 +105,7 @@ static int of_device_remove(struct device *dev)
return 0;
}
-static int of_device_suspend(struct device *dev, u32 state)
+static int of_device_suspend(struct device *dev, pm_message_t state)
{
struct of_device * of_dev = to_of_device(dev);
struct of_platform_driver * drv = to_of_platform_driver(dev->driver);