summaryrefslogtreecommitdiff
path: root/include/linux/README
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2018-12-13 15:25:06 +0100
committerJacopo Mondi <jacopo@jmondi.org>2018-12-19 10:30:28 +0100
commitc81bc473fd24de5a46bb995510378433d23d3098 (patch)
treeb269ceb89854fa7a2bc8049ee55a3170466a2b0d /include/linux/README
parentd416f42cceed1714d6543e3f014b815be5d1a5c6 (diff)
libcamera: include: Import media.h from Linux v4.19
In order to avoid depending on system headers that may be outdated compared to the kernel version available at runtime, import the Linux kernel headers related to the APIs that libcamera requires a recent version of. This allows libcamera to use the latest kernel APIs even when compiled on older systems. The library must of course test at runtime whether those APIs are available and fallback to older APIs in order to support older kernels. Import media.h for the recent media controller APIs. The file is extracted verbatim from kernel v4.19. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'include/linux/README')
-rw-r--r--include/linux/README2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/README b/include/linux/README
new file mode 100644
index 00000000..d3892a80
--- /dev/null
+++ b/include/linux/README
@@ -0,0 +1,2 @@
+Files in this directory are imported from v4.19 of the Linux kernel. Do not
+modify them manually.