commit | ac8ab54a8e41a5ed0ee2161d45b6dc855490989f | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Fri Jan 29 22:22:27 2010 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Fri Jan 29 22:22:27 2010 +0900 |
tree | 6872b5d5942338d43ea520060e2b3f2a4287f652 | |
parent | a45635dfb08a1fa2cf77bf1f2c4074961ce2e625 [diff] |
sh: Bail out early on PCI resource conflicts. Presently we just call in to request_resource() for the ioport and iomem resources without checking for errors. This has already hidden a couple of bugs, so add some error handling in for good measure. Signed-off-by: Paul Mundt <lethal@linux-sh.org>