summaryrefslogtreecommitdiff
path: root/drivers/media/radio/radio-shark2.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-05-13 01:21:04 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-05-14 08:09:05 +0200
commit8771b7f31b7fff91a998e6afdb60650d4bac59a5 (patch)
treebe2df3db6f6e470e19c6bea197787ba69a8441a6 /drivers/media/radio/radio-shark2.c
parenteba63df7eb1f95df6bfb67722a35372b6994928d (diff)
media: bcm2835-unicam: Depend on COMMON_CLK
The bcm2835-unicam driver calls the clk_set_min_rate() function, which is declared but not implemented on platforms that don't provide COMMON_CLK. This causes linkage failures with some configurations. Fix it by depending on COMMON_CLK. This only slightly restricts compilation testing, but not usage of the driver as all platforms on which the hardware can be found provide COMMON_CLK. Fixes: 392cd78d495f ("media: bcm2835-unicam: Add support for CCP2/CSI2 camera interface") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202405112243.2MLRT7li-lkp@intel.com/ Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/radio/radio-shark2.c')
0 files changed, 0 insertions, 0 deletions