From: Quanyang Wang <quanyang.w...@windriver.com>

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.w...@windriver.com>
---
 drivers/media/i2c/adv7511-v4l2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/i2c/adv7511-v4l2.c b/drivers/media/i2c/adv7511-v4l2.c
index 7a9e439a59c4d..c3b64132cfe13 100644
--- a/drivers/media/i2c/adv7511-v4l2.c
+++ b/drivers/media/i2c/adv7511-v4l2.c
@@ -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 */
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10098): 
https://lists.yoctoproject.org/g/linux-yocto/message/10098
Mute This Topic: https://lists.yoctoproject.org/mt/84148455/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to