commit | 86be4263a75040789e3d65d9353dcfeb38f26741 | [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 | 99b723581afdc4b606e5bd27c16db98c0f9ed2e3 [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>