From owner-svn-src-all@freebsd.org Sun Jun 16 15:57:02 2019 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D03D015C2DFA; Sun, 16 Jun 2019 15:57:01 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 71473865F6; Sun, 16 Jun 2019 15:57:01 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C8C6F18ACB; Sun, 16 Jun 2019 15:57:00 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5GFv0xL054892; Sun, 16 Jun 2019 15:57:00 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5GFv0UO054888; Sun, 16 Jun 2019 15:57:00 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201906161557.x5GFv0UO054888@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Sun, 16 Jun 2019 15:57:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r349115 - in head/sys: arm/allwinner dev/pwm X-SVN-Group: head X-SVN-Commit-Author: ian X-SVN-Commit-Paths: in head/sys: arm/allwinner dev/pwm X-SVN-Commit-Revision: 349115 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 71473865F6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2019 15:57:02 -0000 Author: ian Date: Sun Jun 16 15:56:59 2019 New Revision: 349115 URL: https://svnweb.freebsd.org/changeset/base/349115 Log: 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. Added: head/sys/dev/pwm/ofw_pwm.h - copied, changed from r349114, head/sys/dev/pwm/pwmbus.h Deleted: head/sys/dev/pwm/pwmbus.h Modified: head/sys/arm/allwinner/aw_pwm.c head/sys/dev/pwm/ofw_pwm.c head/sys/dev/pwm/pwmbus.c Modified: head/sys/arm/allwinner/aw_pwm.c ============================================================================== --- head/sys/arm/allwinner/aw_pwm.c Sun Jun 16 15:34:10 2019 (r349114) +++ head/sys/arm/allwinner/aw_pwm.c Sun Jun 16 15:56:59 2019 (r349115) @@ -44,8 +44,6 @@ __FBSDID("$FreeBSD$"); #include -#include - #include "pwmbus_if.h" #define AW_PWM_CTRL 0x00 Modified: head/sys/dev/pwm/ofw_pwm.c ============================================================================== --- head/sys/dev/pwm/ofw_pwm.c Sun Jun 16 15:34:10 2019 (r349114) +++ head/sys/dev/pwm/ofw_pwm.c Sun Jun 16 15:56:59 2019 (r349115) @@ -38,9 +38,7 @@ __FBSDID("$FreeBSD$"); #include #include -#include - -#include "pwmbus_if.h" +#include int pwm_get_by_ofw_propidx(device_t consumer, phandle_t node, Copied and modified: head/sys/dev/pwm/ofw_pwm.h (from r349114, head/sys/dev/pwm/pwmbus.h) ============================================================================== --- head/sys/dev/pwm/pwmbus.h Sun Jun 16 15:34:10 2019 (r349114, copy source) +++ head/sys/dev/pwm/ofw_pwm.h Sun Jun 16 15:56:59 2019 (r349115) @@ -28,7 +28,8 @@ * $FreeBSD$ */ -#ifndef _PWMBUS_H_ +#ifndef _OFW_PWM_H_ +#define _OFW_PWM_H_ #include @@ -51,4 +52,4 @@ int pwm_get_by_ofw_property(device_t consumer, phandle 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_ */ Modified: head/sys/dev/pwm/pwmbus.c ============================================================================== --- head/sys/dev/pwm/pwmbus.c Sun Jun 16 15:34:10 2019 (r349114) +++ head/sys/dev/pwm/pwmbus.c Sun Jun 16 15:56:59 2019 (r349115) @@ -41,8 +41,6 @@ __FBSDID("$FreeBSD$"); #include -#include - #include "pwmbus_if.h" struct pwmbus_channel_data {