diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-01-03 18:58:05 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-01-11 20:43:04 +0300 |
commit | 60a031b64984ad4a219a13b0fe912746b586bb9b (patch) | |
tree | fca25ba0e209e5623f4b5911104ceae74fe69b63 /drivers/media/pci/cx25821/cx25821-video.c | |
parent | 02d4e62ae2452c83e4a3e279b8e4cb4dcbad4b31 (diff) | |
download | linux-60a031b64984ad4a219a13b0fe912746b586bb9b.tar.xz |
media: i2c: thp7312: select CONFIG_FW_LOADER
The recently added driver uses the firmware loader mechanism but causes
a link failure when that is in a loadable module while thp7312 itself
is built-in:
arm-linux-gnueabi-ld: drivers/media/i2c/thp7312.o: in function `thp7312_probe':
thp7312.c:(.text+0x4164): undefined reference to `firmware_upload_register'
Select the required Kconfig symbol. Note that the driver specifically
needs the firmware upload interface that is controlled by CONFIG_FW_UPLOAD,
but there is no link failure when that is disabled because the interfaces
are stubbed out here.
Link: https://lore.kernel.org/linux-media/20240103155811.4092035-1-arnd@kernel.org
Fixes: 7a52ab415b43 ("media: i2c: Add driver for THine THP7312")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/pci/cx25821/cx25821-video.c')
0 files changed, 0 insertions, 0 deletions