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:
Ian Lepore 2019-06-16 15:56:59 +00:00
parent 97634938d0
commit b93539730b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349115
4 changed files with 4 additions and 9 deletions

View File

@ -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

View File

@ -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,

View File

@ -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_ */

View File

@ -41,8 +41,6 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <dev/pwm/pwmbus.h>
#include "pwmbus_if.h"
struct pwmbus_channel_data {