aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorMike Dunn <[email protected]>2012-12-27 10:02:18 -0800
committerHaojian Zhuang <[email protected]>2013-01-23 16:56:32 +0800
commit6a639bb83b751bfed61be13c0e3df17e5a970a94 (patch)
treef934ca4779d1d1708cbb2ae2cbc6698f67eb4d04 /include/linux/fpga/fpga-mgr.h
parent2c33727a62ac07eed3ae423c209f549394c5c4e9 (diff)
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 <[email protected]> Acked-by: Tomas Cech <[email protected]> Acked-by: Marek Vasut <[email protected]> Signed-off-by: Haojian Zhuang <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions