summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2015-04-23 14:35:33 -0700
committerTom Cherry <tomcherry@google.com>2015-04-23 15:04:06 -0700
commit1225a61f0aec6bff340e84ac05bd77ba39151884 (patch)
tree60254ba415928bd4f429cb753d246bc77a9a4eb0 /trusty/coverage/coverage_test.cpp
parent2ce1d81fd412657c14a14dd43ec570ac65cc1874 (diff)
init: consider all platform devices for find_platform_device
Certain platforms list their platform devices with a path other than the current /devices or /devices/platform. Additionally, sometimes these paths are a platform device themselves. An example are devices with a path /devices/soc.0/... where /devices/soc.0 is also a platform devices. Instead of continuing to special case these path prefixes, we can consider the entire path, given that no mmc or usb devices create platform devices as subdevices, which they should not by their very nature. This keeps the symlinks for block devices named identically for current platform devices and places them in /dev/block/<full path to device> for devices in locations other than /devices or /devices/platform, eg /dev/block/platform/soc.0/7824900.sdhci This keeps the symlinks for character deviced named identically for all cases. Change-Id: Ifc8eedf1086db1826dbc8f7e96cdfcfa5da876b3
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions