svn commit: r334774 - head/sys/compat/linuxkpi/common/include/linux
Hans Petter Selasky
hselasky at FreeBSD.org
Thu Jun 7 11:29:08 UTC 2018
Author: hselasky
Date: Thu Jun 7 11:29:07 2018
New Revision: 334774
URL: https://svnweb.freebsd.org/changeset/base/334774
Log:
Implement the dev_pm_set_driver_flags() function macro in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0 at gmail.com>
MFC after: 1 week
Sponsored by: Mellanox Technologies
Sponsored by: Limelight Networks
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 Thu Jun 7 11:25:36 2018 (r334773)
+++ head/sys/compat/linuxkpi/common/include/linux/device.h Thu Jun 7 11:29:07 2018 (r334774)
@@ -461,6 +461,9 @@ device_destroy(struct class *class, dev_t devt)
device_unregister(device_get_softc(bsddev));
}
+#define dev_pm_set_driver_flags(dev, flags) do { \
+} while (0)
+
static inline void
linux_class_kfree(struct class *class)
{
More information about the svn-src-head
mailing list