aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/common/saa7146/saa7146_video.c
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2013-05-25 13:39:36 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-13 11:42:17 -0300
commitdd8c393b3c39f7ebd9ad69ce50cc836773d512b6 (patch)
tree9d0364b9ff8de67daef444390dd26f1d85da286c /drivers/media/common/saa7146/saa7146_video.c
parent8524ce558a0111762efa1a6b5ba9ce5e092b4707 (diff)
download96b-common-dd8c393b3c39f7ebd9ad69ce50cc836773d512b6.tar.gz
[media] media: i2c: ths7303: make the pdata as a constant pointer
generally the pdata needs to be a constant pointer in the device state structure. This patch makes the pdata as a constant pointer and alongside returns -EINVAL when pdata is NULL. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/saa7146/saa7146_video.c')
0 files changed, 0 insertions, 0 deletions