diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-04-30 06:29:08 -0300 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:48:39 +0900 |
commit | d7b41ef47842a1527abd0b2266e9d3ba52bb0c62 (patch) | |
tree | 52e6778872e72c0ee261d0babecf1436730a01c0 /drivers | |
parent | db2962862d4eb1c851207a7f2890514d08efa8a6 (diff) | |
download | linux-3.10-d7b41ef47842a1527abd0b2266e9d3ba52bb0c62.tar.gz linux-3.10-d7b41ef47842a1527abd0b2266e9d3ba52bb0c62.tar.bz2 linux-3.10-d7b41ef47842a1527abd0b2266e9d3ba52bb0c62.zip |
upstream: [media] soc_camera: Constify dev_pm_ops in mt9t031.c
Silences the following warning:
WARNING: struct dev_pm_ops should normally be const
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/i2c/soc_camera/mt9t031.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/soc_camera/mt9t031.c b/drivers/media/i2c/soc_camera/mt9t031.c index 8f71c9a02cf..b3dfeb6d103 100644 --- a/drivers/media/i2c/soc_camera/mt9t031.c +++ b/drivers/media/i2c/soc_camera/mt9t031.c @@ -570,7 +570,7 @@ static int mt9t031_runtime_resume(struct device *dev) return 0; } -static struct dev_pm_ops mt9t031_dev_pm_ops = { +static const struct dev_pm_ops mt9t031_dev_pm_ops = { .runtime_suspend = mt9t031_runtime_suspend, .runtime_resume = mt9t031_runtime_resume, }; |