]> git.sur5r.net Git - u-boot/commit
mmc: atmel: Zap global 'initialized' variable
authorMarek Vasut <marex@denx.de>
Fri, 23 Oct 2015 18:46:31 +0000 (20:46 +0200)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Sun, 1 Nov 2015 21:02:15 +0000 (22:02 +0100)
commit877807e193340b2586bc328bb000f32fde986be4
treed5ee794857055e97d3f4371accc014ddda96713f
parent6b75d35949968ea2083d5778de6882e175ecc3d0
mmc: atmel: Zap global 'initialized' variable

Global variables are bad. Get rid of this particular one, so we can
correctly instantiate multiple atmel mci interfaces, without having
them interfere with one another.

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