From 09ebe549aeaf8d8667b522c06e5cdd910a99056b Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Sun, 16 Jun 2019 00:32:19 +0000 Subject: [PATCH] Make channel number unsigned, and spell unsigned int u_int. This should have been part of r349088. --- sys/dev/pwm/pwmc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pwm/pwmc.h b/sys/dev/pwm/pwmc.h index 9940c8cad9e9..05832a9f318c 100644 --- a/sys/dev/pwm/pwmc.h +++ b/sys/dev/pwm/pwmc.h @@ -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; };