Message ID | 1459907118-10919-2-git-send-email-thomas.ab@samsung.com |
---|---|
State | Accepted |
Commit | ac985273135762a596482812551221019c319731 |
Delegated to: | Minkyu Kang |
Headers | show |
On 5 April 2016 at 19:45, Thomas Abraham <thomas.ab@samsung.com> wrote: > It is possible to have multiple pin controllers in the system. Use the > DM_UC_FLAG_SEQ_ALIAS flag so that the pinctrl instances are assigned > a sequence number. > > Cc: Masahiro Yamada <yamada.masahiro@socionext.com> > Cc: Simon Glass <sjg@chromium.org> > Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> > --- > drivers/pinctrl/pinctrl-uclass.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/pinctrl/pinctrl-uclass.c b/drivers/pinctrl/pinctrl-uclass.c index ccc5d30..fd04b26 100644 --- a/drivers/pinctrl/pinctrl-uclass.c +++ b/drivers/pinctrl/pinctrl-uclass.c @@ -287,5 +287,6 @@ static int pinctrl_post_bind(struct udevice *dev) UCLASS_DRIVER(pinctrl) = { .id = UCLASS_PINCTRL, .post_bind = pinctrl_post_bind, + .flags = DM_UC_FLAG_SEQ_ALIAS, .name = "pinctrl", };
It is possible to have multiple pin controllers in the system. Use the DM_UC_FLAG_SEQ_ALIAS flag so that the pinctrl instances are assigned a sequence number. Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> --- drivers/pinctrl/pinctrl-uclass.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)