Date: Fri, 24 Feb 2017 17:03:14 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314214 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <201702241703.v1OH3EQn059358@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702241703.v1OH3EQn059358>