aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/spi_s3c24xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi_s3c24xx.c b/drivers/spi/spi_s3c24xx.c
index 9de4b5a04d70..5fc14563ee3a 100644
--- a/drivers/spi/spi_s3c24xx.c
+++ b/drivers/spi/spi_s3c24xx.c
@@ -405,7 +405,7 @@ static int s3c24xx_spi_remove(struct platform_device *dev)
405 405
406static int s3c24xx_spi_suspend(struct platform_device *pdev, pm_message_t msg) 406static int s3c24xx_spi_suspend(struct platform_device *pdev, pm_message_t msg)
407{ 407{
408 struct s3c24xx_spi *hw = platform_get_drvdata(dev); 408 struct s3c24xx_spi *hw = platform_get_drvdata(pdev);
409 409
410 clk_disable(hw->clk); 410 clk_disable(hw->clk);
411 return 0; 411 return 0;
@@ -413,7 +413,7 @@ static int s3c24xx_spi_suspend(struct platform_device *pdev, pm_message_t msg)
413 413
414static int s3c24xx_spi_resume(struct platform_device *pdev) 414static int s3c24xx_spi_resume(struct platform_device *pdev)
415{ 415{
416 struct s3c24xx_spi *hw = platform_get_drvdata(dev); 416 struct s3c24xx_spi *hw = platform_get_drvdata(pdev);
417 417
418 clk_enable(hw->clk); 418 clk_enable(hw->clk);
419 return 0; 419 return 0;