lkml.org 
[lkml]   [2021]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.14 389/849] media: i2c: ths8200 needs V4L2_ASYNC
    Date
    From: Randy Dunlap <rdunlap@infradead.org>

    [ Upstream commit e4625044d656f3c33ece0cc9da22577bc10ca5d3 ]

    Fix the build errors reported by the kernel test robot by
    selecting V4L2_ASYNC:

    mips-linux-ld: drivers/media/i2c/ths8200.o: in function `ths8200_remove':
    ths8200.c:(.text+0x1ec): undefined reference to `v4l2_async_unregister_subdev'
    mips-linux-ld: drivers/media/i2c/ths8200.o: in function `ths8200_probe':
    ths8200.c:(.text+0x404): undefined reference to `v4l2_async_register_subdev'

    Fixes: ed29f89497006 ("media: i2c: ths8200: support asynchronous probing")
    Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
    Reported-by: kernel test robot <lkp@intel.com>
    Reviewed-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
    Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
    Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/media/i2c/Kconfig | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
    index 588f8eb959844..bde7fb021564a 100644
    --- a/drivers/media/i2c/Kconfig
    +++ b/drivers/media/i2c/Kconfig
    @@ -597,6 +597,7 @@ config VIDEO_AK881X
    config VIDEO_THS8200
    tristate "Texas Instruments THS8200 video encoder"
    depends on VIDEO_V4L2 && I2C
    + select V4L2_ASYNC
    help
    Support for the Texas Instruments THS8200 video encoder.

    --
    2.33.0


    \
     
     \ /
      Last update: 2021-11-16 02:37    [W:3.899 / U:0.280 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site