
30 Aug
2012
30 Aug
'12
11:35 p.m.
On Tue, Jul 3, 2012 at 12:58 AM, Jaehoon Chung jh80.chung@samsung.com wrote:
Support DesignWare MMC Controller for Samsung Specific.
Signed-off-by: Jaehoon Chung jh80.chung@samsung.com Signed-off-by: Kyungmin Park kyungmin.park@samsung.com Signed-off-by: Rajeshawari Shinde rajeshwari.s@samsung.com
arch/arm/include/asm/arch-exynos/dwmmc.h | 36 ++++++++++++++++++ drivers/mmc/exynos_dw_mmc.c | 58 ++++++++++++++++++++++++++++++
+int exynos_dwmci_init(u32 regbase, int bus_width, int index) +{
struct dwmci_host *host = NULL;
host = (struct dwmci_host *)malloc(sizeof(struct dwmci_host));
It is not necessary (or desirable) to cast the result of malloc.
Andy