]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e51010191c98386e0e7d0018c64a7fa10ba1730
treea3d327b9f7b5c7eccd3242c4942317ac3e4a8cc4
parent3f31e5910d4d14378c491b0c56fb8ae993c288f7
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