Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2018 11:29:07 +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: r334774 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201806071129.w57BT70j070525@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806071129.w57BT70j070525>