summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sh-pfc/core.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-15 13:48:56 +0200
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-29 15:17:47 +0200
commit28818fa5dadfd458fa7e17c8be26b2d7edffa8bf (patch)
tree5c3e9ea4d0a91ba2f1ddecdedb56a5cff7bf8198 /drivers/pinctrl/sh-pfc/core.h
parent9689896cb106bf756ec3616beaeb57da6e39a6a0 (diff)
downloadtalos-op-linux-28818fa5dadfd458fa7e17c8be26b2d7edffa8bf.tar.gz
talos-op-linux-28818fa5dadfd458fa7e17c8be26b2d7edffa8bf.zip
sh-pfc: Rename struct sh_pfc nr_pins field to nr_gpio_pins
The field contains the number of pins with an associated GPIO port. This is currently equal to the total number of pins but will be modified when adding support for pins without a GPIO port. Rename the field accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Diffstat (limited to 'drivers/pinctrl/sh-pfc/core.h')
-rw-r--r--drivers/pinctrl/sh-pfc/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sh-pfc/core.h b/drivers/pinctrl/sh-pfc/core.h
index f02ba1dde3a0..93963a19b340 100644
--- a/drivers/pinctrl/sh-pfc/core.h
+++ b/drivers/pinctrl/sh-pfc/core.h
@@ -34,7 +34,7 @@ struct sh_pfc {
unsigned int num_windows;
struct sh_pfc_window *window;
- unsigned int nr_pins;
+ unsigned int nr_gpio_pins;
struct sh_pfc_chip *gpio;
struct sh_pfc_chip *func;
OpenPOWER on IntegriCloud