Move/rename the sys/pwm.h header file to dev/pwm/pwmc.h. The file contains
ioctl definitions and related datatypes that allow userland control of pwm hardware via the pwmc device. The new name and location better reflects its assocation with a single device driver.
This commit is contained in:
parent
f9d8090ea8
commit
71fb373934
@ -38,6 +38,8 @@
|
||||
# xargs -n1 | sort | uniq -d;
|
||||
# done
|
||||
|
||||
# 20190615: sys/pwm.h renamed to dev/pwmc.h
|
||||
OLD_FILES+=usr/include/sys/pwm.h
|
||||
# 20190612: new clang import which bumps version from 8.0.0 to 8.0.1.
|
||||
OLD_FILES+=usr/lib/clang/8.0.0/include/sanitizer/allocator_interface.h
|
||||
OLD_FILES+=usr/lib/clang/8.0.0/include/sanitizer/asan_interface.h
|
||||
|
@ -152,6 +152,8 @@
|
||||
..
|
||||
ppbus
|
||||
..
|
||||
pwm
|
||||
..
|
||||
smbus
|
||||
..
|
||||
speaker
|
||||
|
@ -46,8 +46,8 @@ LSUBDIRS= cam/ata cam/mmc cam/nvme cam/scsi \
|
||||
dev/acpica dev/agp dev/an dev/bktr dev/ciss dev/filemon dev/firewire \
|
||||
dev/hwpmc dev/hyperv \
|
||||
dev/ic dev/iicbus dev/io dev/mfi dev/mmc dev/nvme \
|
||||
dev/ofw dev/pbio dev/pci ${_dev_powermac_nvram} dev/ppbus dev/smbus \
|
||||
dev/speaker dev/tcp_log dev/veriexec dev/vkbd dev/wi \
|
||||
dev/ofw dev/pbio dev/pci ${_dev_powermac_nvram} dev/ppbus dev/pwm \
|
||||
dev/smbus dev/speaker dev/tcp_log dev/veriexec dev/vkbd dev/wi \
|
||||
fs/devfs fs/fdescfs fs/msdosfs fs/nandfs fs/nfs fs/nullfs \
|
||||
fs/procfs fs/smbfs fs/udf fs/unionfs \
|
||||
geom/cache geom/concat geom/eli geom/gate geom/journal geom/label \
|
||||
|
@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/module.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <sys/pwm.h>
|
||||
#include <dev/pwm/pwmc.h>
|
||||
|
||||
#include "pwmbus_if.h"
|
||||
#include "pwm_if.h"
|
||||
|
@ -31,8 +31,8 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <stdbool.h>
|
||||
#include <sys/pwm.h>
|
||||
#include <sys/capsicum.h>
|
||||
#include <dev/pwm/pwmc.h>
|
||||
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
|
Loading…
Reference in New Issue
Block a user