Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2019 19:43:34 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349073 - head/sys/dev/pwm
Message-ID:  <201906151943.x5FJhYCS015990@repo.freebsd.org>

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



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