drivers/media/platform/exynos/fimc-is2/vendor/mcd/fimc-is-sysfs.c:248:40: error: expression does not compute the number of elements in this arr
ay; element type is 'struct ssrm_camera_data', not 'int' [-Werror,-Wsizeof-array-div]
if (ret_count > sizeof(SsrmCameraInfo)/sizeof(int))
Change-Id: I2f3b33c7c1951cfa316a9cc59d87308564ffbd93
ret_count = sscanf(buf, "%d%d%d%d%d%d%d", &temp.operation, &temp.cameraID, &temp.previewMinFPS,
&temp.previewMaxFPS, &temp.previewSizeWidth, &temp.previewSizeHeight, &temp.sensorOn);
- if (ret_count > sizeof(SsrmCameraInfo)/sizeof(int))
+ if (ret_count > sizeof(SsrmCameraInfo)/(sizeof(int)))
return -EINVAL;
switch (temp.operation) {