diff options
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/pxa2xx_spi.c | 2 | ||||
-rw-r--r-- | drivers/spi/spi_s3c24xx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/pxa2xx_spi.c b/drivers/spi/pxa2xx_spi.c index c8c2b693ffac..c2f707e5ce74 100644 --- a/drivers/spi/pxa2xx_spi.c +++ b/drivers/spi/pxa2xx_spi.c | |||
@@ -1709,7 +1709,7 @@ static int pxa2xx_spi_resume(struct device *dev) | |||
1709 | return 0; | 1709 | return 0; |
1710 | } | 1710 | } |
1711 | 1711 | ||
1712 | static struct dev_pm_ops pxa2xx_spi_pm_ops = { | 1712 | static const struct dev_pm_ops pxa2xx_spi_pm_ops = { |
1713 | .suspend = pxa2xx_spi_suspend, | 1713 | .suspend = pxa2xx_spi_suspend, |
1714 | .resume = pxa2xx_spi_resume, | 1714 | .resume = pxa2xx_spi_resume, |
1715 | }; | 1715 | }; |
diff --git a/drivers/spi/spi_s3c24xx.c b/drivers/spi/spi_s3c24xx.c index 33d94f76b9ef..276591569c8b 100644 --- a/drivers/spi/spi_s3c24xx.c +++ b/drivers/spi/spi_s3c24xx.c | |||
@@ -489,7 +489,7 @@ static int s3c24xx_spi_resume(struct device *dev) | |||
489 | return 0; | 489 | return 0; |
490 | } | 490 | } |
491 | 491 | ||
492 | static struct dev_pm_ops s3c24xx_spi_pmops = { | 492 | static const struct dev_pm_ops s3c24xx_spi_pmops = { |
493 | .suspend = s3c24xx_spi_suspend, | 493 | .suspend = s3c24xx_spi_suspend, |
494 | .resume = s3c24xx_spi_resume, | 494 | .resume = s3c24xx_spi_resume, |
495 | }; | 495 | }; |