Rename pwmbus.h to ofw_pwm.h, because after all the recent changes, there
is nothing left in the file that related to pwmbus at all. It just contains prototypes for the functions implemented in dev/pwm.ofw_pwm.c, so name it accordingly and fix the include protect wrappers to match. A new pwmbus.h will be coming along in a future commit.
This commit is contained in:
parent
97634938d0
commit
b93539730b
@ -44,8 +44,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <dev/extres/clk/clk.h>
|
||||
|
||||
#include <dev/pwm/pwmbus.h>
|
||||
|
||||
#include "pwmbus_if.h"
|
||||
|
||||
#define AW_PWM_CTRL 0x00
|
||||
|
@ -38,9 +38,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <dev/ofw/ofw_bus.h>
|
||||
#include <dev/ofw/ofw_bus_subr.h>
|
||||
|
||||
#include <dev/pwm/pwmbus.h>
|
||||
|
||||
#include "pwmbus_if.h"
|
||||
#include <dev/pwm/ofw_pwm.h>
|
||||
|
||||
int
|
||||
pwm_get_by_ofw_propidx(device_t consumer, phandle_t node,
|
||||
|
@ -28,7 +28,8 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef _PWMBUS_H_
|
||||
#ifndef _OFW_PWM_H_
|
||||
#define _OFW_PWM_H_
|
||||
|
||||
#include <dev/ofw/openfirm.h>
|
||||
|
||||
@ -51,4 +52,4 @@ int pwm_get_by_ofw_property(device_t consumer, phandle_t node,
|
||||
int pwm_get_by_ofw_name(device_t consumer, phandle_t node, const char *name,
|
||||
pwm_channel_t *out_channel);
|
||||
|
||||
#endif /* _PWMBUS_H_ */
|
||||
#endif /* _OFW_PWM_H_ */
|
@ -41,8 +41,6 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <machine/bus.h>
|
||||
|
||||
#include <dev/pwm/pwmbus.h>
|
||||
|
||||
#include "pwmbus_if.h"
|
||||
|
||||
struct pwmbus_channel_data {
|
||||
|
Loading…
x
Reference in New Issue
Block a user