From 0d547c3b16a64a230fadaa0a516936b6bd64a40a Mon Sep 17 00:00:00 2001 From: patrick Date: Fri, 17 Aug 2018 21:00:17 +0000 Subject: [PATCH] The official name for the ssdfb(4) reset GPIO attribute uses plural form. --- sys/dev/fdt/ssdfb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/fdt/ssdfb.c b/sys/dev/fdt/ssdfb.c index 992081a28e6..cb2c21dcd80 100644 --- a/sys/dev/fdt/ssdfb.c +++ b/sys/dev/fdt/ssdfb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssdfb.c,v 1.6 2018/08/17 14:20:15 patrick Exp $ */ +/* $OpenBSD: ssdfb.c,v 1.7 2018/08/17 21:00:17 patrick Exp $ */ /* * Copyright (c) 2018 Patrick Wildt * @@ -276,10 +276,10 @@ ssdfb_attach(struct ssdfb_softc *sc) pinctrl_byname(sc->sc_node, "default"); - len = OF_getproplen(sc->sc_node, "reset-gpio"); + len = OF_getproplen(sc->sc_node, "reset-gpios"); if (len > 0) { gpio = malloc(len, M_DEVBUF, M_WAITOK); - OF_getpropintarray(sc->sc_node, "reset-gpio", + OF_getpropintarray(sc->sc_node, "reset-gpios", gpio, len); gpio_controller_config_pin(gpio, GPIO_CONFIG_OUTPUT); gpio_controller_set_pin(gpio, 1); -- 2.20.1