svn commit: r335428 - stable/11/sys/compat/linuxkpi/common/include/linux
Hans Petter Selasky
hselasky at FreeBSD.org
Wed Jun 20 06:51:42 UTC 2018
Author: hselasky
Date: Wed Jun 20 06:51:41 2018
New Revision: 335428
URL: https://svnweb.freebsd.org/changeset/base/335428
Log:
MFC r334774:
Implement the dev_pm_set_driver_flags() function macro in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0 at gmail.com>
Sponsored by: Mellanox Technologies
Sponsored by: Limelight Networks
Modified:
stable/11/sys/compat/linuxkpi/common/include/linux/device.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/compat/linuxkpi/common/include/linux/device.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/device.h Wed Jun 20 06:50:56 2018 (r335427)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/device.h Wed Jun 20 06:51:41 2018 (r335428)
@@ -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-stable-11
mailing list