summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2412/pm.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2012-01-27 06:35:25 (GMT)
committerKukjin Kim <kgene.kim@samsung.com>2012-01-27 06:35:47 (GMT)
commit04511a6faeed146030dcc5b892beff30fa0a7c9b (patch)
tree6b57884f33f018cfd781630a1f5542f43f174c79 /arch/arm/mach-s3c2412/pm.c
parent9a60571ecf918162553592ef8c4b4450155394a0 (diff)
downloadlinux-fsl-qoriq-04511a6faeed146030dcc5b892beff30fa0a7c9b.tar.xz
ARM: SAMSUNG: Fix missing api-change from subsys_interface change
Commit 4a858cfc9a (arm: convert sysdev_class to a regular subsystem) converted the samsung sysdevs into subsys_interface instances. While the original add-function only had a (struct sys_device *) parameter, the dev_add from subsys_interface needs (struct device *, struct subsys_interface *) leading to "initialized from incompatible pointer type" warnings. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Cc: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c2412/pm.c')
-rw-r--r--arch/arm/mach-s3c2412/pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2412/pm.c b/arch/arm/mach-s3c2412/pm.c
index d1adfa6..d045885 100644
--- a/arch/arm/mach-s3c2412/pm.c
+++ b/arch/arm/mach-s3c2412/pm.c
@@ -56,7 +56,7 @@ static void s3c2412_pm_prepare(void)
{
}
-static int s3c2412_pm_add(struct device *dev)
+static int s3c2412_pm_add(struct device *dev, struct subsys_interface *sif)
{
pm_cpu_prep = s3c2412_pm_prepare;
pm_cpu_sleep = s3c2412_cpu_suspend;