]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP: Fix MMC_OMAP build when only MMC_OMAP_HS is selected
authorTony Lindgren <tony@atomide.com>
Wed, 6 Jun 2012 08:42:20 +0000 (01:42 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 6 Jun 2012 08:42:20 +0000 (01:42 -0700)
commitafe13e6cf18f4f14ddca7f2fc06ac3b7936586ce
tree669f285f91fb1b1fdd708edb52feed8cf65b9526
parent13b808cc862180485988ed3b85a667951df7865e
ARM: OMAP: Fix MMC_OMAP build when only MMC_OMAP_HS is selected

If CONFIG_MMC_OMAP is not set and CONFIG_MMC_OMAP_HS is set,
we can get error: redefinition of `omap242x_init_mmc' error.

Fix it by removing MMC_OMAP_HS from MMC_OMAP ifdefs as they do
not depend on each other.

While at it, also prettify the formatting a bit.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/plat/mmc.h