diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2018-12-13 15:25:06 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2018-12-19 10:30:28 +0100 |
commit | c81bc473fd24de5a46bb995510378433d23d3098 (patch) | |
tree | b269ceb89854fa7a2bc8049ee55a3170466a2b0d /src | |
parent | d416f42cceed1714d6543e3f014b815be5d1a5c6 (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 'src')
0 files changed, 0 insertions, 0 deletions