commit | fb0ea6a710308e90d550ce87c1f249732a780e62 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Dec 16 21:20:24 2020 -0700 |
committer | Simon Glass <sjg@chromium.org> | Fri Dec 18 20:32:21 2020 -0700 |
tree | 993617b46654beb51c5882c7926dd739e1b2e872 | |
parent | d1e85308feed8ea66d2af71860130f004d5f9632 [diff] [blame] |
gpio: Update for new sequence numbers Use the dev_seq() sequence number in all cases. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index 29d1bc3..9fc217a 100644 --- a/drivers/gpio/mxc_gpio.c +++ b/drivers/gpio/mxc_gpio.c
@@ -318,7 +318,7 @@ plat->regs = (struct gpio_regs *)addr; } - plat->bank_index = dev->req_seq; + plat->bank_index = dev_seq(dev); return 0; }