mmc: bfin_sdh: fix alloc size for private data
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 12 Jan 2011 03:39:35 +0000 (22:39 -0500)
committerChris Ball <cjb@laptop.org>
Wed, 26 Jan 2011 05:28:41 +0000 (00:28 -0500)
commita34650f0f1ca589cda09c48cb62baf15e680a247
treea3d327b9f7b5c7eccd3242c4942317ac3e4a8cc4
parent548f07d2a36a4b085c059edb25edb3cd8d71fe3e
mmc: bfin_sdh: fix alloc size for private data

The bfin_sdh driver allocates the wrong size for the private data
in the mmc_host.  The first parameter of mmc_alloc_host should be
the size of the local driver struct rather than the common mmc_host.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: <stable@kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/bfin_sdh.c