commit | bcf39352eb9e9026f7a1028d4bce3707b65f104b | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Mon Feb 01 13:11:25 2010 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Feb 01 13:11:25 2010 +0900 |
tree | 440794a7fe888c48bfb49bdd994873ae8a136866 | |
parent | 85b59f5bb24aeca1a987cbb206e228bf630c8327 [diff] |
sh: Handle PCI controller resource conflicts. register_pci_controller() can fail, but presently is a void function. Change this over to an int so that we can bail early before continuing on with post-registration initialization (such as throwing the controller in to 66MHz mode in the case of the SH7780 host controller). Signed-off-by: Paul Mundt <lethal@linux-sh.org>