Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 May 2015 16:00:02 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r283423 - head/sys/compat/linux
Message-ID:  <201505241600.t4OG02CZ069370@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505241600.t4OG02CZ069370>