ARM: mxc: platform-mxc-mmc: Fix register region size
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 9 Oct 2012 19:25:13 +0000 (16:25 -0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 10 Oct 2012 08:02:40 +0000 (10:02 +0200)
Do not hardcode the register region to SZ_4K as this is not correct for mx31.

Use data->iosize instead which works for both mx27 and mx31 cases.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

No differences found