Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2019 00:32:20 +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: r349092 - head/sys/dev/pwm
Message-ID:  <201906160032.x5G0WKMq067503@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Jun 16 00:32:19 2019
New Revision: 349092
URL: https://svnweb.freebsd.org/changeset/base/349092

Log:
  Make channel number unsigned, and spell unsigned int u_int.  This should
  have been part of r349088.

Modified:
  head/sys/dev/pwm/pwmc.h

Modified: head/sys/dev/pwm/pwmc.h
==============================================================================
--- head/sys/dev/pwm/pwmc.h	Sun Jun 16 00:27:11 2019	(r349091)
+++ head/sys/dev/pwm/pwmc.h	Sun Jun 16 00:32:19 2019	(r349092)
@@ -34,9 +34,9 @@
 #define	PWM_POLARITY_INVERTED	(1 << 0)
 
 struct pwm_state {
-	int		channel;
-	unsigned int	period;
-	unsigned int	duty;
+	u_int		channel;
+	u_int		period;
+	u_int		duty;
 	uint32_t	flags;
 	bool		enable;
 };



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