summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_common.c
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-09 16:12:37 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-09 16:12:37 +0000
commit2b349bc9ba6070a75ed2b3737f52cfc62b00bf5c (patch)
tree4b3fbed7d509ff6b0c50283266d8570430123191 /sys/compat/linux/linux_common.c
parent6c12e20ac1e5ea5573246049365409feabb20095 (diff)
downloadFreeBSD-src-2b349bc9ba6070a75ed2b3737f52cfc62b00bf5c.zip
FreeBSD-src-2b349bc9ba6070a75ed2b3737f52cfc62b00bf5c.tar.gz
MFC r283423:
Move FEATURE macros for v4l and v4l2 to the common module.
Diffstat (limited to 'sys/compat/linux/linux_common.c')
-rw-r--r--sys/compat/linux/linux_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_common.c b/sys/compat/linux/linux_common.c
index 3cee92a..b9e3531 100644
--- a/sys/compat/linux/linux_common.c
+++ b/sys/compat/linux/linux_common.c
@@ -35,11 +35,15 @@ __FBSDID("$FreeBSD$");
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/eventhandler.h>
+#include <sys/sysctl.h>
#include <compat/linux/linux_emul.h>
#include <compat/linux/linux_mib.h>
#include <compat/linux/linux_util.h>
+FEATURE(linuxulator_v4l, "V4L ioctl wrapper support in the linuxulator");
+FEATURE(linuxulator_v4l2, "V4L2 ioctl wrapper support in the linuxulator");
+
MODULE_VERSION(linux_common, 1);
SET_DECLARE(linux_device_handler_set, struct linux_device_handler);
OpenPOWER on IntegriCloud