Date: Wed, 24 Dec 2014 03:24:51 +0000 (UTC) From: Luiz Otavio O Souza <loos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276168 - head/sys/dev/gpio Message-ID: <201412240324.sBO3OpYK040195@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: loos Date: Wed Dec 24 03:24:50 2014 New Revision: 276168 URL: https://svnweb.freebsd.org/changeset/base/276168 Log: Improves the GPIO API description a little bit. gpio_pin_max must return the maximum supported pin number and not the total number of pins on the system. PR: 157070 Submitted by: brix Modified: head/sys/dev/gpio/gpio_if.m Modified: head/sys/dev/gpio/gpio_if.m ============================================================================== --- head/sys/dev/gpio/gpio_if.m Wed Dec 24 03:13:16 2014 (r276167) +++ head/sys/dev/gpio/gpio_if.m Wed Dec 24 03:24:50 2014 (r276168) @@ -56,11 +56,11 @@ HEADER { }; # -# Get total number of pins +# Get maximum pin number # METHOD int pin_max { device_t dev; - int *npins; + int *maxpin; }; #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412240324.sBO3OpYK040195>