[PATCH 2.6.0-test3][ISDN] make sedlbauer.c compile

From: Vinay K Nallamothu
Date: Sun Aug 10 2003 - 03:44:09 EST


Hi,

This patch makes drivers/isdn/hisax/sedlbauer.c compile without which
the following compilation errors are generated:

drivers/isdn/hisax/sedlbauer.c: In function `setup_sedlbauer':
drivers/isdn/hisax/sedlbauer.c:763: label `err' used but not defined


--- linux-2.6.0-test3/drivers/isdn/hisax/sedlbauer.c 2003-07-15 17:22:23.000000000 +0530
+++ linux-2.6.0-test3-nvk/drivers/isdn/hisax/sedlbauer.c 2003-08-10 14:16:19.000000000 +0530
@@ -760,7 +760,7 @@
printk(KERN_ERR "Sedlbauer PnP:some resources are missing %ld/%lx\n",
pnp_irq(pd, 0), pnp_port_start(pd, 0));
pnp_device_detach(pd);
- goto err;
+ return 0;
}
card->para[1] = pnp_port_start(pd, 0);
card->para[0] = pnp_irq(pd, 0);
@@ -777,7 +777,7 @@
}
} else {
printk(KERN_ERR "Sedlbauer PnP: PnP error card found, no device\n");
- goto err;
+ return 0;
}
}
pdev++;



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/