commit | 637a7693185d00c392df8a9886cb17f462e9a51b | [log] [tgz] |
---|---|---|
author | Peng Fan <Peng.Fan@freescale.com> | Tue Feb 10 14:46:33 2015 +0800 |
committer | Simon Glass <sjg@chromium.org> | Thu Feb 12 15:17:29 2015 -0700 |
tree | 8ac854a7b538fa25abbfae7d737413b3a00b16e6 | |
parent | c9cac3f8413c1f67d1e1b7a1770e584584107cd2 [diff] |
dm:gpio:mxc add a bank_index entry in platdata Add a new entry in platdata structure and intialize bank_index in mxc_plat array. This new entry can avoid using `plat - mxc_plat` by using `plat->bank_index`. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Simon Glass <sjg@chromium.org>