summaryrefslogtreecommitdiffstats
path: root/arch/arm/common
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-09-09 18:54:04 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-09-09 18:54:04 +0100
commitdaad56661d56cc382948fc95b74e17d3326b901b (patch)
tree9c3b5195646882044f39baef859621cc27510de5 /arch/arm/common
parentaa6c2e794f7e1f54dc52c84471c750327fa21ccd (diff)
downloadop-kernel-dev-daad56661d56cc382948fc95b74e17d3326b901b.zip
op-kernel-dev-daad56661d56cc382948fc95b74e17d3326b901b.tar.gz
[ARM] 2894/1: Sharp Scoop driver pm_message_t type fix
Patch from Richard Purdie Fix a pm_message_t type warning in the Sharp scoop driver Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common')
-rw-r--r--arch/arm/common/scoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/common/scoop.c b/arch/arm/common/scoop.c
index 688a595..d3a04c2 100644
--- a/arch/arm/common/scoop.c
+++ b/arch/arm/common/scoop.c
@@ -91,7 +91,7 @@ EXPORT_SYMBOL(read_scoop_reg);
EXPORT_SYMBOL(write_scoop_reg);
#ifdef CONFIG_PM
-static int scoop_suspend(struct device *dev, uint32_t state, uint32_t level)
+static int scoop_suspend(struct device *dev, pm_message_t state, uint32_t level)
{
if (level == SUSPEND_POWER_DOWN) {
struct scoop_dev *sdev = dev_get_drvdata(dev);
OpenPOWER on IntegriCloud