ipu6: Fix compilation with kernels >= 6.6.0

Kernel 6.6 has made some significant changes to how v4l2-async
(sub)dev registration works. Adjust the code accordingly.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hao Yao <hao.yao@intel.com>
Signed-off-by: zouxiaoh <xiaohong.zou@intel.com>
This commit is contained in:
zouxiaoh 2023-11-22 16:27:05 +08:00 committed by ranjan-dutta
parent d07aafa042
commit cb74fe4d93
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include <linux/i2c.h>
#include <linux/clkdev.h>
#include <linux/version.h>
#include <media/v4l2-async.h>
#define IPU_ISYS_MAX_CSI2_LANES 4