.priv field is used by Tegra V4L2 SoC camera driver, so introduce
a new field named .dev_priv.
Bug
1377330
Change-Id: Id714dca05d7640175b3dc25f7ce582d76abbcaf4
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/289328
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
/* sensor driver private platform data */
void *drv_priv;
+ void *dev_priv;
/* Optional regulators that have to be managed on power on/off events */
struct regulator_bulk_data *regulators;
unsigned long flags;
void *priv;
+ void *dev_priv;
/* Optional regulators that have to be managed on power on/off events */
struct regulator_bulk_data *regulators;
{
struct soc_camera_subdev_desc *ssdd =
(struct soc_camera_subdev_desc *)plink;
- struct soc_camera_platform_info *info = ssdd->drv_priv;
+ struct soc_camera_platform_info *info = ssdd->dev_priv;
int ret;
if (&icd->sdesc->subdev_desc != ssdd)