dt/platform: allow device name to be overridden
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 21 Jun 2011 16:59:35 +0000 (10:59 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 21 Jun 2011 17:04:10 +0000 (11:04 -0600)
commit15c3597d6ea47e8f3caf068887c4666165df63ad
tree22f7b13f99898152da64f19a17f7a16b93e0187e
parent5de1540b7bc4c23470f86add1e517be41e7fefe2
dt/platform: allow device name to be overridden

Some platform code has specific requirements on the naming of devices.
This patch allows callers of of_platform_populate() to provide a
device name lookup table.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/platform.c
include/linux/of_platform.h