Skip to content
Permalink
Browse files
media: adv7511-v4l2: fix compile error
This patch fixes compile error as below:

drivers/media/i2c/adv7511-v4l2.c:416:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
  416 |  return 0;
      |         ^

Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
  • Loading branch information
wqyoung authored and Michal Simek committed Jul 13, 2021
1 parent b45c55b commit bd76b5963aee700d5e6ff0cd29834bfdaf05532e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -424,7 +424,7 @@ static void adv7511_set_rgb_quantization_mode(struct v4l2_subdev *sd, struct v4l
struct adv7511_state *state = get_adv7511_state(sd);

#ifdef XYLON_LOGICVC_INTG
return 0;
return;
#endif

/* Only makes sense for RGB formats */

0 comments on commit bd76b59

Please sign in to comment.