|
@@ -1360,7 +1360,7 @@ static int soc_camera_i2c_init(struct soc_camera_device *icd,
|
|
|
struct soc_camera_host_desc *shd = &sdesc->host_desc;
|
|
|
struct i2c_adapter *adap;
|
|
|
struct v4l2_subdev *subdev;
|
|
|
- char clk_name[V4L2_SUBDEV_NAME_SIZE];
|
|
|
+ char clk_name[V4L2_CLK_NAME_SIZE];
|
|
|
int ret;
|
|
|
|
|
|
/* First find out how we link the main client */
|
|
@@ -1526,7 +1526,7 @@ static int scan_async_group(struct soc_camera_host *ici,
|
|
|
struct soc_camera_async_client *sasc;
|
|
|
struct soc_camera_device *icd;
|
|
|
struct soc_camera_desc sdesc = {.host_desc.bus_id = ici->nr,};
|
|
|
- char clk_name[V4L2_SUBDEV_NAME_SIZE];
|
|
|
+ char clk_name[V4L2_CLK_NAME_SIZE];
|
|
|
unsigned int i;
|
|
|
int ret;
|
|
|
|
|
@@ -1632,7 +1632,7 @@ static int soc_of_bind(struct soc_camera_host *ici,
|
|
|
struct soc_camera_async_client *sasc;
|
|
|
struct soc_of_info *info;
|
|
|
struct i2c_client *client;
|
|
|
- char clk_name[V4L2_SUBDEV_NAME_SIZE + 32];
|
|
|
+ char clk_name[V4L2_CLK_NAME_SIZE];
|
|
|
int ret;
|
|
|
|
|
|
/* allocate a new subdev and add match info to it */
|