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

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