diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-16 21:20:24 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-18 20:32:21 -0700 |
commit | fb0ea6a710308e90d550ce87c1f249732a780e62 (patch) | |
tree | 993617b46654beb51c5882c7926dd739e1b2e872 /drivers/gpio/mxc_gpio.c | |
parent | d1e85308feed8ea66d2af71860130f004d5f9632 (diff) | |
download | u-boot-fb0ea6a710308e90d550ce87c1f249732a780e62.tar.gz u-boot-fb0ea6a710308e90d550ce87c1f249732a780e62.tar.xz u-boot-fb0ea6a710308e90d550ce87c1f249732a780e62.zip |
gpio: Update for new sequence numbers
Use the dev_seq() sequence number in all cases.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio/mxc_gpio.c')
-rw-r--r-- | drivers/gpio/mxc_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index 29d1bc3517..9fc217ae6a 100644 --- a/drivers/gpio/mxc_gpio.c +++ b/drivers/gpio/mxc_gpio.c @@ -318,7 +318,7 @@ static int mxc_gpio_of_to_plat(struct udevice *dev) plat->regs = (struct gpio_regs *)addr; } - plat->bank_index = dev->req_seq; + plat->bank_index = dev_seq(dev); return 0; } |