diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2011-10-27 11:07:28 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-10-29 13:49:09 +0200 |
commit | ed5f886d16369fed5a69d96b8e85777c47206de1 (patch) | |
tree | 78ef3195128db1ae73caee18a435232927421d02 /drivers/leds/leds-gpio.c | |
parent | 81397a625d063403d80a25bba00fa1cb6d7e04f5 (diff) |
dt: add empty of_alias_get_id() for non-dt builds
Add function of_alias_get_id() reporting -ENOSYS
for non-dt builds, so that drivers migrating to dt
can save some '#ifdef CONFIG_OF'.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/leds/leds-gpio.c')
0 files changed, 0 insertions, 0 deletions