summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartyn Welch <martyn.welch@ge.com>2010-03-22 14:58:43 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-30 09:30:11 -0700
commit4839737b3b6af2a9b3b960584f08177fbc9bf118 (patch)
treef34d9f8eb53e960897bfd219e5e3a54be10a84fb
parentf3cdc28520a059feb8b5001655f01536ab1e0167 (diff)
downloadblackbird-op-linux-4839737b3b6af2a9b3b960584f08177fbc9bf118.tar.gz
blackbird-op-linux-4839737b3b6af2a9b3b960584f08177fbc9bf118.zip
Staging: vme: Re-introduce necessary brackets
Somehow I managed to remove a set of rather necessary brackets in commit 29848ac9f3b33bf171439ae2d66d40e6a71446c4. Put them back. Signed-off-by: Martyn Welch <martyn.welch@ge.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/vme/bridges/vme_tsi148.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/vme/bridges/vme_tsi148.c b/drivers/staging/vme/bridges/vme_tsi148.c
index 68f24425977f..783051f59f19 100644
--- a/drivers/staging/vme/bridges/vme_tsi148.c
+++ b/drivers/staging/vme/bridges/vme_tsi148.c
@@ -2455,9 +2455,10 @@ static int tsi148_probe(struct pci_dev *pdev, const struct pci_device_id *id)
dev_info(&pdev->dev, "VME Write and flush and error check is %s\n",
err_chk ? "enabled" : "disabled");
- if (tsi148_crcsr_init(tsi148_bridge, pdev))
+ if (tsi148_crcsr_init(tsi148_bridge, pdev)) {
dev_err(&pdev->dev, "CR/CSR configuration failed.\n");
goto err_crcsr;
+ }
retval = vme_register_bridge(tsi148_bridge);
if (retval != 0) {
OpenPOWER on IntegriCloud