summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorDonghwa Lee <dh09.lee@samsung.com>2013-03-20 19:44:23 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:42:55 +0900
commit28b173ec7824695f7dfbe20f6fc7764f2a5da674 (patch)
tree609375b1ae5e7e7f2c0bf2379ae592b55721667b /drivers/i2c
parent1e085d4105f814495020b6b5cd32ab2dbe5f3c98 (diff)
downloadlinux-3.10-28b173ec7824695f7dfbe20f6fc7764f2a5da674.tar.gz
linux-3.10-28b173ec7824695f7dfbe20f6fc7764f2a5da674.tar.bz2
linux-3.10-28b173ec7824695f7dfbe20f6fc7764f2a5da674.zip
ARM: i2c-s3c2410: register resume early function
register i2c-s3c2410 resume function earlier than other device. Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-s3c2410.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
index a72aad9561b..45bef90a7b0 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
};