Index: sys/dev/gpio/gpio_if.m =================================================================== --- sys/dev/gpio/gpio_if.m (revision 221961) +++ sys/dev/gpio/gpio_if.m (working copy) @@ -32,11 +32,11 @@ INTERFACE gpio; # -# Get total number of pins +# Get the maximum pin_num # METHOD int pin_max { device_t dev; - int *npins; + int *maxpin; }; #