Alexander Stein ebe78bb993 mmc: bcm2835_sdhci: Use calloc to allocate bcm2835_sdhci_host
We need to clear the allocated memory explicitly as the included
struct sdhci_host has function pointers. Those are compared to NULL to
test if this (optional) feature is supported. Leaving them undefined let
u-boot jump to arbitrary memory.

Signed-off-by: Alexander Stein <alexanders83@web.de>
2015-05-05 12:29:42 +03:00
..
2015-03-30 23:24:38 -05:00
2015-04-29 10:41:24 +02:00
2015-04-10 14:23:23 +02:00
2015-04-23 16:46:50 -07:00
2015-03-24 10:50:50 -04:00