diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-06-01 15:03:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-06-01 15:03:56 -0300 |
commit | d364ee4fdb33a329b16cdf9342e9770b4d4ddc83 (patch) | |
tree | 0341b995fbd824efcc1966fdaa2e45fb6036ed4c /drivers/media/video | |
parent | 76df01eacd5fa41b607426a8cb091fb21ae35554 (diff) | |
download | linux-d364ee4fdb33a329b16cdf9342e9770b4d4ddc83.tar.gz linux-d364ee4fdb33a329b16cdf9342e9770b4d4ddc83.tar.bz2 linux-d364ee4fdb33a329b16cdf9342e9770b4d4ddc83.zip |
[media] soc_camera: preserve const attribute
drivers/media/video/soc_camera.c: In function ‘soc_camera_video_start’:
drivers/media/video/soc_camera.c:1515: warning: initialization discards qualifiers from pointer target type
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/soc_camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/soc_camera.c b/drivers/media/video/soc_camera.c index 398864370267..4e4d4122d9a6 100644 --- a/drivers/media/video/soc_camera.c +++ b/drivers/media/video/soc_camera.c @@ -1512,7 +1512,7 @@ static int video_dev_create(struct soc_camera_device *icd) */ static int soc_camera_video_start(struct soc_camera_device *icd) { - struct device_type *type = icd->vdev->dev.type; + const struct device_type *type = icd->vdev->dev.type; int ret; if (!icd->dev.parent) |