diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-08-17 21:00:18 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-08-17 21:00:18 +0000 |
commit | b7506c89094414a6ec4890febeec9dbde6c8ad84 (patch) | |
tree | 51b2c0c5f47f4fa3f9b35e1be539444be6b2eaf5 | |
parent | bbc22c979845c539463fd9fc9d807a514cd456b8 (diff) |
The official name for the ssdfb(4) reset GPIO attribute uses plural form.
-rw-r--r-- | sys/dev/fdt/ssdfb.c | 6 |
1 files 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 <patrick@blueri.se> * @@ -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); |