diff options
Diffstat (limited to 'drivers/spi/spi-pl022.c')
-rw-r--r-- | drivers/spi/spi-pl022.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c index 078338f59481..3520cf955b95 100644 --- a/drivers/spi/spi-pl022.c +++ b/drivers/spi/spi-pl022.c | |||
@@ -2282,14 +2282,14 @@ pl022_remove(struct amba_device *adev) | |||
2282 | } | 2282 | } |
2283 | 2283 | ||
2284 | #ifdef CONFIG_SUSPEND | 2284 | #ifdef CONFIG_SUSPEND |
2285 | static int pl011_suspend(struct device *dev) | 2285 | static int pl022_suspend(struct device *dev) |
2286 | { | 2286 | { |
2287 | struct pl022 *pl022 = dev_get_drvdata(dev); | 2287 | struct pl022 *pl022 = dev_get_drvdata(dev); |
2288 | int status = 0; | 2288 | int status = 0; |
2289 | 2289 | ||
2290 | status = stop_queue(pl022); | 2290 | status = stop_queue(pl022); |
2291 | if (status) { | 2291 | if (status) { |
2292 | dev_warn(&adev->dev, "suspend cannot stop queue\n"); | 2292 | dev_warn(dev, "suspend cannot stop queue\n"); |
2293 | return status; | 2293 | return status; |
2294 | } | 2294 | } |
2295 | 2295 | ||
@@ -2298,7 +2298,7 @@ static int pl011_suspend(struct device *dev) | |||
2298 | load_ssp_default_config(pl022); | 2298 | load_ssp_default_config(pl022); |
2299 | amba_pclk_disable(pl022->adev); | 2299 | amba_pclk_disable(pl022->adev); |
2300 | amba_vcore_disable(pl022->adev); | 2300 | amba_vcore_disable(pl022->adev); |
2301 | dev_dbg(&adev->dev, "suspended\n"); | 2301 | dev_dbg(dev, "suspended\n"); |
2302 | return 0; | 2302 | return 0; |
2303 | } | 2303 | } |
2304 | 2304 | ||