Mike Dunn 6a639bb83b ARM: palmtreo: fix #ifdefs for leds-gpio device
The #ifdefs around the leds-gpio device platform data are erroneous.  Currently
the device is not instantiated on the centro unless CONFIG_MACH_TREO680 is
defined.  This patch eliminates the #ifdefs, and uses the machine_is_* macros to
initialize the data based on which machine the code is running on and the
build-time configuration.  Unused data is optimized out by the build tools if
build configuration does not enable support for both machines.

Tested on my palm treo 680, and compile-tested for all three combinations of
treo680/centro build configurations.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Acked-by: Tomas Cech <sleep_walker@suse.cz>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
2013-01-23 16:56:32 +08:00
..
2012-01-25 20:37:49 -06:00
2011-07-12 19:45:19 +08:00
2012-11-15 13:50:13 +01:00
2012-10-07 07:22:32 -07:00
2012-01-25 20:37:49 -06:00
2012-11-15 13:50:13 +01:00
2012-09-14 11:18:10 +02:00
2012-03-28 18:30:01 +01:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-10-01 19:11:38 -07:00
2012-11-15 13:50:13 +01:00
2012-10-01 19:11:38 -07:00
2012-10-01 19:11:38 -07:00
2012-11-15 13:50:13 +01:00
2012-01-25 20:37:49 -06:00
2012-10-07 07:22:32 -07:00
2013-01-08 11:27:35 +00:00
2012-03-25 14:36:31 -05:00
2012-03-25 14:36:31 -05:00
2010-12-18 21:02:14 +08:00
2012-10-01 19:11:38 -07:00
2012-10-07 07:22:32 -07:00
2012-01-25 20:37:49 -06:00
2012-09-14 11:18:10 +02:00