diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-12-14 21:00:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 11:53:25 -0500 |
commit | 471452104b8520337ae2fb48c4e61cd4896e025d (patch) | |
tree | 8594ae4a8362014e3cccf72a4e8834cdbb610bdd /drivers/dma | |
parent | 0ead0f84e81a41c3e98aeceab04af8ab1bb08d1f (diff) |
const: constify remaining dev_pm_ops
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/at_hdmac.c | 2 | ||||
-rw-r--r-- | drivers/dma/dw_dmac.c | 2 | ||||
-rw-r--r-- | drivers/dma/txx9dmac.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index c52ac9efd0bf..f15112569c1d 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c | |||
@@ -1188,7 +1188,7 @@ static int at_dma_resume_noirq(struct device *dev) | |||
1188 | return 0; | 1188 | return 0; |
1189 | } | 1189 | } |
1190 | 1190 | ||
1191 | static struct dev_pm_ops at_dma_dev_pm_ops = { | 1191 | static const struct dev_pm_ops at_dma_dev_pm_ops = { |
1192 | .suspend_noirq = at_dma_suspend_noirq, | 1192 | .suspend_noirq = at_dma_suspend_noirq, |
1193 | .resume_noirq = at_dma_resume_noirq, | 1193 | .resume_noirq = at_dma_resume_noirq, |
1194 | }; | 1194 | }; |
diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index 2eea823516a7..285bed0fe17b 100644 --- a/drivers/dma/dw_dmac.c +++ b/drivers/dma/dw_dmac.c | |||
@@ -1427,7 +1427,7 @@ static int dw_resume_noirq(struct device *dev) | |||
1427 | return 0; | 1427 | return 0; |
1428 | } | 1428 | } |
1429 | 1429 | ||
1430 | static struct dev_pm_ops dw_dev_pm_ops = { | 1430 | static const struct dev_pm_ops dw_dev_pm_ops = { |
1431 | .suspend_noirq = dw_suspend_noirq, | 1431 | .suspend_noirq = dw_suspend_noirq, |
1432 | .resume_noirq = dw_resume_noirq, | 1432 | .resume_noirq = dw_resume_noirq, |
1433 | }; | 1433 | }; |
diff --git a/drivers/dma/txx9dmac.c b/drivers/dma/txx9dmac.c index fb6bb64e8861..3ebc61067e54 100644 --- a/drivers/dma/txx9dmac.c +++ b/drivers/dma/txx9dmac.c | |||
@@ -1313,7 +1313,7 @@ static int txx9dmac_resume_noirq(struct device *dev) | |||
1313 | 1313 | ||
1314 | } | 1314 | } |
1315 | 1315 | ||
1316 | static struct dev_pm_ops txx9dmac_dev_pm_ops = { | 1316 | static const struct dev_pm_ops txx9dmac_dev_pm_ops = { |
1317 | .suspend_noirq = txx9dmac_suspend_noirq, | 1317 | .suspend_noirq = txx9dmac_suspend_noirq, |
1318 | .resume_noirq = txx9dmac_resume_noirq, | 1318 | .resume_noirq = txx9dmac_resume_noirq, |
1319 | }; | 1319 | }; |