2003-09-01 21:03:19

by Adrian Bunk

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

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;
}