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;
};
#
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"