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.
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
#ifndef _PWMBUS_H_
|
||||
|
||||
#include <dev/ofw/openfirm.h>
|
||||
#include <sys/pwm.h>
|
||||
|
||||
struct pwm_channel {
|
||||
device_t dev;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user