svn commit: r314214 - head/sys/compat/linuxkpi/common/include/linux

Hans Petter Selasky hselasky at FreeBSD.org
Fri Feb 24 17:03:16 UTC 2017


Author: hselasky
Date: Fri Feb 24 17:03:14 2017
New Revision: 314214
URL: https://svnweb.freebsd.org/changeset/base/314214

Log:
  Prototype device structure to ensure LinuxKPI header file can be
  included standalone.
  
  MFC after:		1 week
  Sponsored by:		Mellanox Technologies

Modified:
  head/sys/compat/linuxkpi/common/include/linux/device.h

Modified: head/sys/compat/linuxkpi/common/include/linux/device.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/device.h	Fri Feb 24 16:52:57 2017	(r314213)
+++ head/sys/compat/linuxkpi/common/include/linux/device.h	Fri Feb 24 17:03:14 2017	(r314214)
@@ -49,6 +49,8 @@
 enum irqreturn	{ IRQ_NONE = 0, IRQ_HANDLED, IRQ_WAKE_THREAD, };
 typedef enum irqreturn	irqreturn_t;
 
+struct device;
+
 struct class {
 	const char	*name;
 	struct module	*owner;


More information about the svn-src-head mailing list