dm: mmc: fsl_esdhc: Set up platform data
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:35:21 +0000 (11:35 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:17 +0000 (16:44 +0900)
commite88e1d9c048671d6fd896318dab2484b4ecb1da3
tree0924dda060da0ee2fe9779ab12ee1ce31356fe4f
parent201e828b22d79bafc7a68a93e1ade4b242a12325
dm: mmc: fsl_esdhc: Set up platform data

With driver model we want to store the mmc and configuration structure in
platform data. Set up structure up and use it for non-DM as well.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/fsl_esdhc.c