| From 3bc0be9adb3e83cd2f4518569fbdfb521973a80c Mon Sep 17 00:00:00 2001 |
| From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Date: Mon, 15 Jul 2013 13:03:20 +0200 |
| Subject: sh-pfc: Replace pinmux_enum_id typedef with u16 |
| |
| The typedef only conceals the real variable type without bringing any |
| additional value (see Documentation/CodingStyle, section 5.b). Moreover, |
| it polutes the pinmux namespace. Replace it with the integer type it |
| used to hide. |
| |
| Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com> |
| (cherry picked from commit 533743dccb517b0331eccc111e3c2b8f021559b5) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/pinctrl/sh-pfc/core.c | 13 ++++++------- |
| drivers/pinctrl/sh-pfc/pfc-r8a73a4.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-r8a7740.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-r8a7778.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-r8a7779.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-sh7203.c | 3 +-- |
| drivers/pinctrl/sh-pfc/pfc-sh7264.c | 3 +-- |
| drivers/pinctrl/sh-pfc/pfc-sh7269.c | 3 +-- |
| drivers/pinctrl/sh-pfc/pfc-sh7372.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-sh7720.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-sh7722.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-sh7723.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-sh7724.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-sh7734.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-sh7757.c | 2 +- |
| drivers/pinctrl/sh-pfc/pfc-sh7785.c | 3 +-- |
| drivers/pinctrl/sh-pfc/pfc-sh7786.c | 3 +-- |
| drivers/pinctrl/sh-pfc/pfc-shx3.c | 3 +-- |
| drivers/pinctrl/sh-pfc/sh_pfc.h | 26 ++++++++++++-------------- |
| 21 files changed, 37 insertions(+), 46 deletions(-) |
| |
| diff --git a/drivers/pinctrl/sh-pfc/core.c b/drivers/pinctrl/sh-pfc/core.c |
| index 1c8597cf..96b02246 100644 |
| --- a/drivers/pinctrl/sh-pfc/core.c |
| +++ b/drivers/pinctrl/sh-pfc/core.c |
| @@ -98,8 +98,7 @@ int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin) |
| return -EINVAL; |
| } |
| |
| -static int sh_pfc_enum_in_range(pinmux_enum_t enum_id, |
| - const struct pinmux_range *r) |
| +static int sh_pfc_enum_in_range(u16 enum_id, const struct pinmux_range *r) |
| { |
| if (enum_id < r->begin) |
| return 0; |
| @@ -194,7 +193,7 @@ static void sh_pfc_write_config_reg(struct sh_pfc *pfc, |
| sh_pfc_write_raw_reg(mapped_reg, crp->reg_width, data); |
| } |
| |
| -static int sh_pfc_get_config_reg(struct sh_pfc *pfc, pinmux_enum_t enum_id, |
| +static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, |
| const struct pinmux_cfg_reg **crp, int *fieldp, |
| int *valuep) |
| { |
| @@ -238,10 +237,10 @@ static int sh_pfc_get_config_reg(struct sh_pfc *pfc, pinmux_enum_t enum_id, |
| return -EINVAL; |
| } |
| |
| -static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, pinmux_enum_t mark, int pos, |
| - pinmux_enum_t *enum_idp) |
| +static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, |
| + u16 *enum_idp) |
| { |
| - const pinmux_enum_t *data = pfc->info->gpio_data; |
| + const u16 *data = pfc->info->gpio_data; |
| int k; |
| |
| if (pos) { |
| @@ -264,7 +263,7 @@ static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, pinmux_enum_t mark, int pos, |
| int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) |
| { |
| const struct pinmux_cfg_reg *cr = NULL; |
| - pinmux_enum_t enum_id; |
| + u16 enum_id; |
| const struct pinmux_range *range; |
| int in_range, pos, field, value; |
| int ret; |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c b/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c |
| index 82bf6aba..d5cbbc72 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c |
| @@ -431,7 +431,7 @@ enum { |
| #define _PORT_DATA(pfx, sfx) PORT_DATA_IO(pfx) |
| #define PINMUX_DATA_ALL() CPU_ALL_PORT(_PORT_DATA, , unused) |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| /* specify valid pin states for each pin in GPIO mode */ |
| PINMUX_DATA_ALL(), |
| |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7740.c b/drivers/pinctrl/sh-pfc/pfc-r8a7740.c |
| index 3fb1e0b4..214ac6ce 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-r8a7740.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7740.c |
| @@ -586,7 +586,7 @@ enum { |
| #define _PORT_DATA(pfx, sfx) PORT_DATA_IO(pfx) |
| #define PINMUX_DATA_GP_ALL() CPU_ALL_PORT(_PORT_DATA, , unused) |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| PINMUX_DATA_GP_ALL(), |
| |
| /* Port0 */ |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c |
| index f9039102..018d8bcb 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-r8a7778.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7778.c |
| @@ -579,7 +579,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ |
| |
| PINMUX_DATA(PENC0_MARK, FN_PENC0), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7779.c b/drivers/pinctrl/sh-pfc/pfc-r8a7779.c |
| index 8e22ca6c..290de9a9 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-r8a7779.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7779.c |
| @@ -664,7 +664,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ |
| |
| PINMUX_DATA(AVS1_MARK, FN_AVS1), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c b/drivers/pinctrl/sh-pfc/pfc-r8a7790.c |
| index 14f3ec26..3713c008 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7790.c |
| @@ -844,7 +844,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ |
| |
| PINMUX_DATA(VI1_DATA7_VI1_B7_MARK, FN_VI1_DATA7_VI1_B7), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7203.c b/drivers/pinctrl/sh-pfc/pfc-sh7203.c |
| index f63d51dc..44878140 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7203.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7203.c |
| @@ -272,8 +272,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| - |
| +static const u16 pinmux_data[] = { |
| /* PA */ |
| PINMUX_DATA(PA7_DATA, PA7_IN), |
| PINMUX_DATA(PA6_DATA, PA6_IN), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7264.c b/drivers/pinctrl/sh-pfc/pfc-sh7264.c |
| index 28467524..641c6af3 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7264.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7264.c |
| @@ -604,8 +604,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| - |
| +static const u16 pinmux_data[] = { |
| /* Port A */ |
| PINMUX_DATA(PA3_DATA, PA3_IN), |
| PINMUX_DATA(PA2_DATA, PA2_IN), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7269.c b/drivers/pinctrl/sh-pfc/pfc-sh7269.c |
| index 4c401a74..415812ff 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7269.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7269.c |
| @@ -781,8 +781,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| - |
| +static const u16 pinmux_data[] = { |
| /* Port A */ |
| PINMUX_DATA(PA1_DATA, PA1_IN), |
| PINMUX_DATA(PA0_DATA, PA0_IN), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7372.c b/drivers/pinctrl/sh-pfc/pfc-sh7372.c |
| index cd431e45..f269c46a 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7372.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7372.c |
| @@ -387,7 +387,7 @@ enum { |
| #define _PORT_DATA(pfx, sfx) PORT_DATA_IO(pfx) |
| #define PINMUX_DATA_GP_ALL() CPU_ALL_PORT(_PORT_DATA, , unused) |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| PINMUX_DATA_GP_ALL(), |
| |
| /* IRQ */ |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c |
| index 31f7d0e0..7935afbe 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c |
| @@ -469,7 +469,7 @@ enum { |
| #define _PORT_DATA(pfx, sfx) PORT_DATA_IO(pfx) |
| #define PINMUX_DATA_GP_ALL() CPU_ALL_PORT(_PORT_DATA, , unused) |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| /* specify valid pin states for each pin in GPIO mode */ |
| PINMUX_DATA_GP_ALL(), |
| |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7720.c b/drivers/pinctrl/sh-pfc/pfc-sh7720.c |
| index 3b96d612..1009fc9c 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7720.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7720.c |
| @@ -232,7 +232,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| /* PTA GPIO */ |
| PINMUX_DATA(PTA7_DATA, PTA7_IN, PTA7_OUT), |
| PINMUX_DATA(PTA6_DATA, PTA6_IN, PTA6_OUT), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7722.c b/drivers/pinctrl/sh-pfc/pfc-sh7722.c |
| index 0982c4ff..0c8d011f 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7722.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7722.c |
| @@ -263,7 +263,7 @@ enum { |
| PINMUX_FUNCTION_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| /* PTA */ |
| PINMUX_DATA(PTA7_DATA, PTA7_IN, PTA7_OUT), |
| PINMUX_DATA(PTA6_DATA, PTA6_IN), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7723.c b/drivers/pinctrl/sh-pfc/pfc-sh7723.c |
| index da0dbb0b..853093ef 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7723.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7723.c |
| @@ -344,7 +344,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| /* PTA GPIO */ |
| PINMUX_DATA(PTA7_DATA, PTA7_IN, PTA7_OUT), |
| PINMUX_DATA(PTA6_DATA, PTA6_IN, PTA6_OUT), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7724.c b/drivers/pinctrl/sh-pfc/pfc-sh7724.c |
| index e8563cf6..fe2693f6 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7724.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7724.c |
| @@ -526,7 +526,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| /* PTA GPIO */ |
| PINMUX_DATA(PTA7_DATA, PTA7_IN, PTA7_OUT), |
| PINMUX_DATA(PTA6_DATA, PTA6_IN, PTA6_OUT), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7734.c b/drivers/pinctrl/sh-pfc/pfc-sh7734.c |
| index 2fd5b7d4..1e1e3e02 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7734.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7734.c |
| @@ -592,7 +592,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ |
| |
| PINMUX_DATA(CLKOUT_MARK, FN_CLKOUT), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7757.c b/drivers/pinctrl/sh-pfc/pfc-sh7757.c |
| index d974b085..f4271167 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7757.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7757.c |
| @@ -486,7 +486,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| +static const u16 pinmux_data[] = { |
| /* PTA GPIO */ |
| PINMUX_DATA(PTA7_DATA, PTA7_IN, PTA7_OUT), |
| PINMUX_DATA(PTA6_DATA, PTA6_IN, PTA6_OUT), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7785.c b/drivers/pinctrl/sh-pfc/pfc-sh7785.c |
| index ddae4260..209289c8 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7785.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7785.c |
| @@ -325,8 +325,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| - |
| +static const u16 pinmux_data[] = { |
| /* PA GPIO */ |
| PINMUX_DATA(PA7_DATA, PA7_IN, PA7_OUT), |
| PINMUX_DATA(PA6_DATA, PA6_IN, PA6_OUT), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh7786.c b/drivers/pinctrl/sh-pfc/pfc-sh7786.c |
| index c855fca5..353fde1f 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh7786.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh7786.c |
| @@ -172,8 +172,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t pinmux_data[] = { |
| - |
| +static const u16 pinmux_data[] = { |
| /* PA GPIO */ |
| PINMUX_DATA(PA7_DATA, PA7_IN, PA7_OUT), |
| PINMUX_DATA(PA6_DATA, PA6_IN, PA6_OUT), |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-shx3.c b/drivers/pinctrl/sh-pfc/pfc-shx3.c |
| index 50d9c5d8..48a6c60f 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-shx3.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-shx3.c |
| @@ -127,8 +127,7 @@ enum { |
| PINMUX_MARK_END, |
| }; |
| |
| -static const pinmux_enum_t shx3_pinmux_data[] = { |
| - |
| +static const u16 shx3_pinmux_data[] = { |
| /* PA GPIO */ |
| PINMUX_DATA(PA7_DATA, PA7_IN, PA7_OUT), |
| PINMUX_DATA(PA6_DATA, PA6_IN, PA6_OUT), |
| diff --git a/drivers/pinctrl/sh-pfc/sh_pfc.h b/drivers/pinctrl/sh-pfc/sh_pfc.h |
| index 363ea8cb..7ad1b040 100644 |
| --- a/drivers/pinctrl/sh-pfc/sh_pfc.h |
| +++ b/drivers/pinctrl/sh-pfc/sh_pfc.h |
| @@ -14,8 +14,6 @@ |
| #include <linux/bug.h> |
| #include <linux/stringify.h> |
| |
| -typedef unsigned short pinmux_enum_t; |
| - |
| enum { |
| PINMUX_TYPE_NONE, |
| PINMUX_TYPE_FUNCTION, |
| @@ -30,7 +28,7 @@ enum { |
| #define SH_PFC_PIN_CFG_PULL_DOWN (1 << 3) |
| |
| struct sh_pfc_pin { |
| - pinmux_enum_t enum_id; |
| + u16 enum_id; |
| const char *name; |
| unsigned int configs; |
| }; |
| @@ -64,7 +62,7 @@ struct sh_pfc_function { |
| }; |
| |
| struct pinmux_func { |
| - pinmux_enum_t enum_id; |
| + u16 enum_id; |
| const char *name; |
| }; |
| |
| @@ -83,27 +81,27 @@ struct pinmux_func { |
| |
| struct pinmux_cfg_reg { |
| unsigned long reg, reg_width, field_width; |
| - const pinmux_enum_t *enum_ids; |
| + const u16 *enum_ids; |
| const unsigned long *var_field_width; |
| }; |
| |
| #define PINMUX_CFG_REG(name, r, r_width, f_width) \ |
| .reg = r, .reg_width = r_width, .field_width = f_width, \ |
| - .enum_ids = (pinmux_enum_t [(r_width / f_width) * (1 << f_width)]) |
| + .enum_ids = (u16 [(r_width / f_width) * (1 << f_width)]) |
| |
| #define PINMUX_CFG_REG_VAR(name, r, r_width, var_fw0, var_fwn...) \ |
| .reg = r, .reg_width = r_width, \ |
| .var_field_width = (unsigned long [r_width]) { var_fw0, var_fwn, 0 }, \ |
| - .enum_ids = (pinmux_enum_t []) |
| + .enum_ids = (u16 []) |
| |
| struct pinmux_data_reg { |
| unsigned long reg, reg_width; |
| - const pinmux_enum_t *enum_ids; |
| + const u16 *enum_ids; |
| }; |
| |
| #define PINMUX_DATA_REG(name, r, r_width) \ |
| .reg = r, .reg_width = r_width, \ |
| - .enum_ids = (pinmux_enum_t [r_width]) \ |
| + .enum_ids = (u16 [r_width]) \ |
| |
| struct pinmux_irq { |
| int irq; |
| @@ -114,9 +112,9 @@ struct pinmux_irq { |
| { .irq = irq_nr, .gpios = (unsigned short []) { ids, 0 } } \ |
| |
| struct pinmux_range { |
| - pinmux_enum_t begin; |
| - pinmux_enum_t end; |
| - pinmux_enum_t force; |
| + u16 begin; |
| + u16 end; |
| + u16 force; |
| }; |
| |
| struct sh_pfc; |
| @@ -152,7 +150,7 @@ struct sh_pfc_soc_info { |
| const struct pinmux_cfg_reg *cfg_regs; |
| const struct pinmux_data_reg *data_regs; |
| |
| - const pinmux_enum_t *gpio_data; |
| + const u16 *gpio_data; |
| unsigned int gpio_data_size; |
| |
| const struct pinmux_irq *gpio_irq; |
| @@ -199,7 +197,7 @@ struct sh_pfc_soc_info { |
| #define PORT_ALL(str) CPU_ALL_PORT(_PORT_ALL, PORT, str) |
| #define GPIO_FN(str) PINMUX_GPIO_FN(GPIO_FN_##str, PINMUX_FN_BASE, str##_MARK) |
| |
| -/* helper macro for pinmux_enum_t */ |
| +/* helper macro for pinmux data arrays */ |
| #define PORT_DATA_IO(nr) \ |
| PINMUX_DATA(PORT##nr##_DATA, PORT##nr##_FN0, PORT##nr##_OUT, \ |
| PORT##nr##_IN) |
| -- |
| 1.8.4.3.gca3854a |
| |