mmc: atmel: Implement proper private data
authorMarek Vasut <marex@denx.de>
Fri, 23 Oct 2015 18:46:30 +0000 (20:46 +0200)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Sun, 1 Nov 2015 21:02:15 +0000 (22:02 +0100)
commit6b75d35949968ea2083d5778de6882e175ecc3d0
treeffe984653b7e36c035f9d70435337aa129201154
parentecfb0ff81295933584da136da792c317063f7bcc
mmc: atmel: Implement proper private data

Instead of passing just the register area as a private data, introduce
a proper struct atmel_mci_priv structure instead. This will become useful
in the subsequent patch, where we eliminate the global variable from this
driver.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
[fix free()]
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
drivers/mmc/gen_atmel_mci.c