summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sh-pfc/sh_pfc.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-14 22:04:53 +0400
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-07-29 17:17:39 +0400
commit94e74601384da5605087c176501e4fb17d7c4252 (patch)
tree7ad03a58cb556f1e750d18d444a110257f25dc9e /drivers/pinctrl/sh-pfc/sh_pfc.h
parent487bca0390ad8f78ab9e885897e72218ef704ff5 (diff)
downloadlinux-94e74601384da5605087c176501e4fb17d7c4252.tar.xz
sh-pfc: Remove unneeded const keywords
Two integer field structures are needlesly defined as const. Remove the const keyword. 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/sh_pfc.h')
-rw-r--r--drivers/pinctrl/sh-pfc/sh_pfc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/sh-pfc/sh_pfc.h b/drivers/pinctrl/sh-pfc/sh_pfc.h
index d0a8ff8d1201..2105487dd1b6 100644
--- a/drivers/pinctrl/sh-pfc/sh_pfc.h
+++ b/drivers/pinctrl/sh-pfc/sh_pfc.h
@@ -30,7 +30,7 @@ enum {
#define SH_PFC_PIN_CFG_PULL_DOWN (1 << 3)
struct sh_pfc_pin {
- const pinmux_enum_t enum_id;
+ pinmux_enum_t enum_id;
const char *name;
unsigned int configs;
};
@@ -64,7 +64,7 @@ struct sh_pfc_function {
};
struct pinmux_func {
- const pinmux_enum_t enum_id;
+ pinmux_enum_t enum_id;
const char *name;
};