sh: Bail out early on PCI resource conflicts.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 29 Jan 2010 13:22:27 +0000 (22:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 29 Jan 2010 13:22:27 +0000 (22:22 +0900)
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>

No differences found