Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 051fae4b authored by Laurent Pinchart's avatar Laurent Pinchart
Browse files

sh-pfc: Make struct pinmux_gpio enum_id field const



This ensures that the field is not modified, which is a prerequisite for
the rest of the PFC refactoring work.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 380c2ed9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ enum {
#define PINMUX_FLAG_DREG            (0x3f << PINMUX_FLAG_DREG_SHIFT)

struct pinmux_gpio {
	pinmux_enum_t enum_id;
	const pinmux_enum_t enum_id;
	pinmux_flag_t flags;
	const char *name;
};