On 08/02/2015 04:34 PM, Daniel Dickinson wrote: > The v4l kernel modules fail to compile on latest kernels due to a new > dependency on a clock source. Since most routers won't have a suitable > clock source, I have added a kernel config option that omits the functionality > that requires the clock source. > > That means v4l modules in OpenWrt can't support DV devices (DV requires > the clock source support) but unless clock source support was addded to > OpenWrt the other alternative is to drop v4l altogether). > > Signed-off-by: Daniel Dickinson <open...@daniel.thecshore.com> > --- > package/kernel/linux/modules/video.mk | 3 +- > ...avoid-clk-for-devices-that-do-not-need-it.patch | 348 > +++++++++++++++++++++ > 2 files changed, 350 insertions(+), 1 deletion(-) > create mode 100644 > target/linux/generic/patches-4.1/273-v4l-avoid-clk-for-devices-that-do-not-need-it.patch >
The build problem of ar71xx was fixed here: https://dev.openwrt.org/changeset/46572 The arch code did not export all the clk functions needed, but claimed to do so. Is your patch needed with r46572 any more? When an arch really does not support clocks it a driver would use the static inline functions doing nothing instead. Hauke _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel