OMAP3: igep0032: Fix regression due commit f3b4bc45.
authorEnric Balletbo i Serra <eballetbo@gmail.com>
Tue, 24 Feb 2015 18:27:15 +0000 (19:27 +0100)
committerTom Rini <trini@ti.com>
Tue, 24 Feb 2015 22:04:00 +0000 (17:04 -0500)
commit50bb94c9496113c8bb588c4d82f3d6c61279dc02
tree9291bd7cb0460faee008f352266481b3b53e5083
parent38dac81b3d0e777f301ca98100bfbcab01d616c2
OMAP3: igep0032: Fix regression due commit f3b4bc45.

Commit referenced in subject breaks IGEP0032 build with the following
error:

  drivers/misc/status_led.c:30:7: error: 'RED_LED_GPIO' undeclared here (not in a function)
  scripts/Makefile.build:275: recipe for target 'drivers/misc/status_led.o' failed
  make[2]: *** [drivers/misc/status_led.o] Error 1
  scripts/Makefile.build:420: recipe for target 'drivers/misc' failed
  make[1]: *** [drivers/misc] Error 2
  Makefile:1093: recipe for target 'drivers' failed
  make: *** [drivers] Error 2

Fix this by skipping the status led on IGEP0032 machine as is not available
and throw an error for future machines if the status led is not configured
to avoid build breakage.

Reported-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
include/configs/omap3_igep00x0.h