From 28b173ec7824695f7dfbe20f6fc7764f2a5da674 Mon Sep 17 00:00:00 2001 From: Donghwa Lee Date: Wed, 20 Mar 2013 19:44:23 +0900 Subject: [PATCH] ARM: i2c-s3c2410: register resume early function register i2c-s3c2410 resume function earlier than other device. Signed-off-by: Donghwa Lee --- drivers/i2c/busses/i2c-s3c2410.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index a72aad9..45bef90 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c @@ -1199,7 +1199,7 @@ static int s3c24xx_i2c_suspend_noirq(struct device *dev) return 0; } -static int s3c24xx_i2c_resume(struct device *dev) +static int s3c24xx_i2c_resume_early(struct device *dev) { struct platform_device *pdev = to_platform_device(dev); struct s3c24xx_i2c *i2c = platform_get_drvdata(pdev); @@ -1217,7 +1217,7 @@ static int s3c24xx_i2c_resume(struct device *dev) static const struct dev_pm_ops s3c24xx_i2c_dev_pm_ops = { #ifdef CONFIG_PM_SLEEP .suspend_noirq = s3c24xx_i2c_suspend_noirq, - .resume = s3c24xx_i2c_resume, + .resume_early = s3c24xx_i2c_resume_early, #endif }; -- 2.7.4