dt: add empty of_alias_get_id() for non-dt builds
commited5f886d16369fed5a69d96b8e85777c47206de1
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 27 Oct 2011 09:07:28 +0000 (27 11:07 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 29 Oct 2011 11:49:09 +0000 (29 13:49 +0200)
tree78ef3195128db1ae73caee18a435232927421d02
parent81397a625d063403d80a25bba00fa1cb6d7e04f5
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>
include/linux/of.h