svn commit: r283423 - head/sys/compat/linux

Dmitry Chagin dchagin at FreeBSD.org
Sun May 24 16:00:03 UTC 2015


Author: dchagin
Date: Sun May 24 16:00:01 2015
New Revision: 283423
URL: https://svnweb.freebsd.org/changeset/base/283423

Log:
  Move FEATURE macros for v4l and v4l2 to the common module.
  
  Differential Revision:	https://reviews.freebsd.org/D1075
  Reviewed by:	emaste

Modified:
  head/sys/compat/linux/linux_common.c
  head/sys/compat/linux/linux_ioctl.c

Modified: head/sys/compat/linux/linux_common.c
==============================================================================
--- head/sys/compat/linux/linux_common.c	Sun May 24 15:54:58 2015	(r283422)
+++ head/sys/compat/linux/linux_common.c	Sun May 24 16:00:01 2015	(r283423)
@@ -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);

Modified: head/sys/compat/linux/linux_ioctl.c
==============================================================================
--- head/sys/compat/linux/linux_ioctl.c	Sun May 24 15:54:58 2015	(r283422)
+++ head/sys/compat/linux/linux_ioctl.c	Sun May 24 16:00:01 2015	(r283423)
@@ -95,9 +95,6 @@ __FBSDID("$FreeBSD$");
 
 CTASSERT(LINUX_IFNAMSIZ == IFNAMSIZ);
 
-FEATURE(linuxulator_v4l, "V4L ioctl wrapper support in the linuxulator");
-FEATURE(linuxulator_v4l2, "V4L2 ioctl wrapper support in the linuxulator");
-
 static linux_ioctl_function_t linux_ioctl_cdrom;
 static linux_ioctl_function_t linux_ioctl_vfat;
 static linux_ioctl_function_t linux_ioctl_console;


More information about the svn-src-all mailing list