]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "of: use platform_device_add"
authorGrant Likely <grant.likely@secretlab.ca>
Sun, 17 Feb 2013 20:03:27 +0000 (20:03 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 17 Feb 2013 20:03:27 +0000 (20:03 +0000)
commit358f0d796c0616566b92f78b721e0845c949b320
tree788a1d2226a1aa3a8bbcf58dfe9739f869ea7be0
parent9049b4fc9558427137e22f68b0dd5bd5fa2bf49b
Revert "of: use platform_device_add"

This reverts commit 4aa0329873f1b6091e62571fe007899272c4c017. That
commit causes two kinds of breakage; it breaks registration of AMBA
devices when one of the parent nodes already contains overlapping
resource regions, and it breaks calls to request_region() by device
drivers in certain conditions where there are overlapping memory
regions. Both of these problems can probably be fixed, but it is better
to back out the commit and get a proper fix designed before trying again.

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