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)
commite94e05eae9a56e4fad93f18a63ae90e7ff02b576
tree1cfb0612f7b71f3bba92328ba81e916884be125e
parent1ea6b8f48918282bdca0b32a34095504ee65bab5
arm/mxs: fix mmc device adding for mach-mx28evk

The merge commit "526b264 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