From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Sun, 1 Nov 2015 22:03:05 +0100 Subject: [U-Boot] [U-Boot, 3/4] mmc: atmel: Implement proper private data In-Reply-To: <1445625991-5343-3-git-send-email-marex@denx.de> (from Marek Vasut on Fri, 23 Oct 2015 20:46:30 +0200) References: <1445625991-5343-3-git-send-email-marex@denx.de> Message-ID: <1446411785-12444-1-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marek Vasut, Marek Vasut writes: >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 >Reviewed-by: Andreas Bie?mann >[fix free()] >Signed-off-by: Andreas Bie?mann >--- > drivers/mmc/gen_atmel_mci.c | 40 +++++++++++++++++++++++++--------------- > 1 file changed, 25 insertions(+), 15 deletions(-) applied to u-boot-atmel/master, thanks! Also fix the missed free(). Best regards, Andreas Bie?mann