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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"