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)
commitf968cabcb1cd0c253fa25850970e5376f9eef065
tree669f285f91fb1b1fdd708edb52feed8cf65b9526
parent91930652a23de0873a157aa1d9962cb878d64451
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