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 <johal...@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)
 {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to