diff options
author | Ian Lepore <ian@FreeBSD.org> | 2019-06-16 00:32:19 +0000 |
---|---|---|
committer | Ian Lepore <ian@FreeBSD.org> | 2019-06-16 00:32:19 +0000 |
commit | 09ebe549aeaf8d8667b522c06e5cdd910a99056b (patch) | |
tree | c7ea5624ce7adaf1fcb091b41a8d06413140b5a8 /sys/dev | |
parent | aee0e20139ee89d1d9d8c061225b34e98daaaba4 (diff) | |
download | src-09ebe549aeaf8d8667b522c06e5cdd910a99056b.tar.gz src-09ebe549aeaf8d8667b522c06e5cdd910a99056b.zip |
Make channel number unsigned, and spell unsigned int u_int. This should
have been part of r349088.
Notes
Notes:
svn path=/head/; revision=349092
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pwm/pwmc.h | 6 |
1 files 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; }; |