summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_s3c24xx.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-05-26 21:26:34 -0400
committerJeff Garzik <jeff@garzik.org>2006-05-26 21:26:34 -0400
commitcbc696a5fa3942aa2e6ad52a71d5126ffa84d031 (patch)
tree98eab655c0e5d0853267557616cb7059f27f7fc9 /drivers/spi/spi_s3c24xx.c
parentd3f464b5385531c4250a8b1dbd2f9ba6bbfcebb9 (diff)
parent8fc29ba65bd669b8f23a46b4760f3ba773e2a635 (diff)
downloadop-kernel-dev-cbc696a5fa3942aa2e6ad52a71d5126ffa84d031.zip
op-kernel-dev-cbc696a5fa3942aa2e6ad52a71d5126ffa84d031.tar.gz
Merge branch 'upstream-fixes' into upstream
Diffstat (limited to 'drivers/spi/spi_s3c24xx.c')
-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 9de4b5a..5fc1456 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)
static int s3c24xx_spi_suspend(struct platform_device *pdev, pm_message_t msg)
{
- struct s3c24xx_spi *hw = platform_get_drvdata(dev);
+ struct s3c24xx_spi *hw = platform_get_drvdata(pdev);
clk_disable(hw->clk);
return 0;
@@ -413,7 +413,7 @@ static int s3c24xx_spi_suspend(struct platform_device *pdev, pm_message_t msg)
static int s3c24xx_spi_resume(struct platform_device *pdev)
{
- struct s3c24xx_spi *hw = platform_get_drvdata(dev);
+ struct s3c24xx_spi *hw = platform_get_drvdata(pdev);
clk_enable(hw->clk);
return 0;
OpenPOWER on IntegriCloud