Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/sunxi Rename pwm0 function to pwm ...



details:   https://anonhg.NetBSD.org/src/rev/8ef5c70971e8
branches:  trunk
changeset: 318829:8ef5c70971e8
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun May 06 10:34:23 2018 +0000
description:
Rename pwm0 function to pwm for PD22

diffstat:

 sys/arch/arm/sunxi/sun50i_a64_gpio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 43f753cbbb28 -r 8ef5c70971e8 sys/arch/arm/sunxi/sun50i_a64_gpio.c
--- a/sys/arch/arm/sunxi/sun50i_a64_gpio.c      Sun May 06 10:33:21 2018 +0000
+++ b/sys/arch/arm/sunxi/sun50i_a64_gpio.c      Sun May 06 10:34:23 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun50i_a64_gpio.c,v 1.2 2018/04/03 16:01:25 bouyer Exp $ */
+/* $NetBSD: sun50i_a64_gpio.c,v 1.3 2018/05/06 10:34:23 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2016 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sun50i_a64_gpio.c,v 1.2 2018/04/03 16:01:25 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sun50i_a64_gpio.c,v 1.3 2018/05/06 10:34:23 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -88,7 +88,7 @@
        { "PD19", 3, 19,  { "gpio_in", "gpio_out", "lcd", "lvds", "emac" } },
        { "PD20", 3, 20,  { "gpio_in", "gpio_out", "lcd", "lvds", "emac" } },
        { "PD21", 3, 21,  { "gpio_in", "gpio_out", "lcd", "lvds", "emac" } },
-       { "PD22", 3, 22,  { "gpio_in", "gpio_out", "pwm0", NULL, "emac" } },
+       { "PD22", 3, 22,  { "gpio_in", "gpio_out", "pwm", NULL, "emac" } },
        { "PD23", 3, 23,  { "gpio_in", "gpio_out", NULL, NULL, "emac" } },
        { "PD24", 3, 24,  { "gpio_in", "gpio_out" } },
 



Home | Main Index | Thread Index | Old Index