]> git.baikalelectronics.ru Git - kernel.git/commit
arm/mxs: fix mmc device adding for mach-mx28evk
authorShawn Guo <shawn.guo@linaro.org>
Tue, 8 Nov 2011 13:57:59 +0000 (21:57 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 8 Nov 2011 13:57:59 +0000 (21:57 +0800)
commitb1d6c8e93a9e76a7d8c62738404925b2ae3d3cef
tree1cfb0612f7b71f3bba92328ba81e916884be125e
parent5c83bc36fbfc8fd80bc8d0dd817f296b1515fe47
arm/mxs: fix mmc device adding for mach-mx28evk

The merge commit "39d88ae Merge branch 'imx/cleanup' into imx/devel"
left a duplicated mx28_add_mxs_mmc() call, which causes the problem
below during boot.

  kobject_add_internal failed for mxs-mmc.1 with -EEXIST, don't try
  to register things with the same name in the same directory.

The patch removes this leftover and also change mmc0 adding to align
with mmc1.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/mach-mx28evk.c