[2.6 patch] add a missing return to drivers/isdn/hisax/ipacx.c

From: Adrian Bunk
Date: Mon Sep 01 2003 - 16:05:03 EST


The patch below adds a missing return to drivers/isdn/hisax/ipacx.c.

I've tested the compilation with 2.6.0-test4-mm4.

Please apply
Adrian

--- linux-2.6.0-test4-mm4-no-smp/drivers/isdn/hisax/ipacx.c.old 2003-09-01 22:59:28.000000000 +0200
+++ linux-2.6.0-test4-mm4-no-smp/drivers/isdn/hisax/ipacx.c 2003-09-01 22:59:49.000000000 +0200
@@ -728,13 +728,15 @@

int
ipacx_setup(struct IsdnCardState *cs, struct dc_hw_ops *ipacx_dc_ops,
struct bc_hw_ops *ipacx_bc_ops)
{
u8 val;

cs->dc_hw_ops = ipacx_dc_ops;
cs->bc_hw_ops = ipacx_bc_ops;
val = ipacx_read_reg(cs, IPACX_ID) & 0x3f;
printk(KERN_INFO "HiSax: IPACX Design Id: %#x\n", val);
+
+ return 0;
}

-
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/