diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2012-09-17 11:00:48 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-02 01:27:52 +0200 |
commit | 6612a08268a5efcc05e4a27dffde33f1b2b3a3eb (patch) | |
tree | b9523f5cd5f1923eb8900d1043539bef858d024e /drivers/media/platform/s5p-fimc/fimc-mdevice.h | |
parent | [media] s5p-csis: Add transmission errors logging (diff) | |
download | linux-6612a08268a5efcc05e4a27dffde33f1b2b3a3eb.tar.xz linux-6612a08268a5efcc05e4a27dffde33f1b2b3a3eb.zip |
[media] s5p-fimc: Keep local copy of sensors platform data
Use a copy of sensor platform data structure, rather than referencing
external platform data from the driver. This allows to fill the local
copy with values parsed from device tree when needed.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/s5p-fimc/fimc-mdevice.h')
-rw-r--r-- | drivers/media/platform/s5p-fimc/fimc-mdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-fimc/fimc-mdevice.h b/drivers/media/platform/s5p-fimc/fimc-mdevice.h index 0135386457ee..2d8d41d82620 100644 --- a/drivers/media/platform/s5p-fimc/fimc-mdevice.h +++ b/drivers/media/platform/s5p-fimc/fimc-mdevice.h @@ -51,7 +51,7 @@ struct fimc_camclk_info { * This data structure applies to image sensor and the writeback subdevs. */ struct fimc_sensor_info { - struct s5p_fimc_isp_info *pdata; + struct s5p_fimc_isp_info pdata; struct v4l2_subdev *subdev; struct fimc_dev *host; }; |