svn commit: r349073 - head/sys/dev/pwm

Ian Lepore ian at FreeBSD.org
Sat Jun 15 19:43:35 UTC 2019


Author: ian
Date: Sat Jun 15 19:43:33 2019
New Revision: 349073
URL: https://svnweb.freebsd.org/changeset/base/349073

Log:
  Do not include pwm.h here, it is purely a userland interface file containing
  ioctl defintions for the pwmc driver. It is not part of the pwmbus interface.

Modified:
  head/sys/dev/pwm/pwmbus.h
  head/sys/dev/pwm/pwmbus_if.m

Modified: head/sys/dev/pwm/pwmbus.h
==============================================================================
--- head/sys/dev/pwm/pwmbus.h	Sat Jun 15 19:16:02 2019	(r349072)
+++ head/sys/dev/pwm/pwmbus.h	Sat Jun 15 19:43:33 2019	(r349073)
@@ -31,7 +31,6 @@
 #ifndef _PWMBUS_H_
 
 #include <dev/ofw/openfirm.h>
-#include <sys/pwm.h>
 
 struct pwm_channel {
 	device_t	dev;

Modified: head/sys/dev/pwm/pwmbus_if.m
==============================================================================
--- head/sys/dev/pwm/pwmbus_if.m	Sat Jun 15 19:16:02 2019	(r349072)
+++ head/sys/dev/pwm/pwmbus_if.m	Sat Jun 15 19:43:33 2019	(r349073)
@@ -48,10 +48,6 @@ CODE {
 	}
 };
 
-HEADER {
-	#include <sys/pwm.h>
-};
-
 #
 # Config the period (Total number of cycle in ns) and
 # the duty (active number of cycle in ns)


More information about the svn-src-all mailing list